Part Number Hot Search : 
EL5164IS TC426EOA TM128 1N4753A A24C1 1N4736 8EN1YMBK SA627
Product Description
Full Text Search
 

To Download MT9D011 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? products and specifications discussed herein are for evaluation and reference purposes only and are subject to change by micron without notice. products are only warranted by micron to meet micron?s production data sheet specifications. 09005aef81516da4 MT9D011__mi2010_e_1.fm - rev. a 11/04 en 1 ?2004 micron technology, inc. all rights reserved. MT9D011 2-megapixel digital image sensor preliminary ? 1/3-inch 2-megapixel cmos active-pixel digital im age sensor part numbers: MT9D011w00stc MT9D011d00stc features ? digitalclarity ? cmos imaging technology high frame rate  superior low-light performance  low dark current  simple two-wire serial interface  auto black level calibration  support for long integration times 2 x 2 binning  anti-aliasing function  anti-eclipse function  operating modes: snapshot and flash control, high frame rate preview, electronic panning  programmable controls: gain, frame size/rate, exposure, left-right and top-bottom image reversal, window size, panning, zoom and decimation  10-bit analog-to-digital converter (adc) with three external inputs  support for external mechanical shutter  internal master clock generated from on-chip phase locked loop (pll)  electronic rolling shutter (ers) applications  cellular phones pc cameras pdas  toys and other battery-powered products table 1: key performance parameters parameter typical value optical format 1/3-inch (4:3) active imager size 4.48mm(h) x 3.36mm(v), 5.60mm diagonal active pixels 1600h x 1200v pixel size 2.8m x 2.8m color filter array rgb bayer pattern shutter type electronic rolling shutter (ers) maximum data rate/ master clock 40 mps/40 mhz frame rate uxga (full frame, 1600h x 1200v) 15 fps at 36 mhz svga (preview, 800h x 600v) 30 fps at 36 mhz adc resolution 10-bit, on-chip responsivity 1.0 v/lux-sec (550nm) dynamic range 68db snr max 42db supply voltage i/o digital 1.7v?3.6v core digital 1.7v?1.9v (1.8v nominal) analog 2.5v?3.1v (2.8v nominal) power consumption 75mw at 30 fps, 36 mhz, preview mode 125mw at 15 fps, (vaa, vaapix and vdd only) 36 mhz, full frame mode operating temperature -30c to +70c packaging wafer or die
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011_mi2010_etoc.fm - rev. a 11/04 en 2 ?2004 micron technology, inc. all rights reserved. table of contents features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 general description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 pixel array structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 default readout order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 output data format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 output data timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 two-wire serial register interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 bus idle state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 start bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 stop bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 slave address. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 data bit transfer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 acknowledge bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 no-acknowledge bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 page register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 sample write and read sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 16-bit write sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 16-bit read sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 8-bit write sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 8-bit read sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 double-buffered registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 bad frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 changes to integration time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 changes to gain settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 feature description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 pll generated master clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 pll settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 pll power-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 window control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 window start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 window size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 pixel border . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 readout speeds and power savings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 column mirror image. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 row mirror image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 digital zoom. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 binning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 binning limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 frame rate control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 minimum horizontal blanking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 minimum row time requirement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 context switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 valid data signals options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45 line_valid signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45 frame_valid signal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011_mi2010_etoc.fm - rev. a 11/04 en 3 ?2004 micron technology, inc. all rights reserved. integration time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47 maximum shutter delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47 flash strobe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 global reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 analog signal path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 stage-by-stage transfer functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 v refd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 gain settings: g1, g2, g3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 offset voltage: v offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 recommended gain settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 output enable control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 power-saving modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 pll and standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 floating inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 dark row/column display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 clock control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 analog inputs ain1?ain3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 power-up sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 hard reset sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 soft reset sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 electrical specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 propagation delay for frame_valid and line_valid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 propagation delay for pixclk and d out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 two-wire serial bus timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 data sheet designation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011_mi2010_elof.fm - rev. a 11/04 en 4 ?2004 micron technology, inc. all rights reserved. list of figures figure 1: block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 figure 2: typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 figure 3: pixel array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 figure 4: pixel color pattern detail (top right corner) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 figure 5: imaging a scene . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 figure 6: spatial illustration of image readout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 figure 7: pixel data timing example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 figure 8: row timing and frame_valid/line_valid signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 figure 9: write timing to r0x09:0?value 0x0284 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 figure 10: read timing from r0x09:0; returned value 0x0284 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 figure 11: write timing to r0x09:0?value 0x0284 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 figure 12: read timing from reg0x09; returned value 0x0284. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 figure 13: six pixels in normal and column mirror readout modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 figure 14: six rows in normal and row mirror readout modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 figure 15: eight pixels in normal and column skip 2x readout modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 figure 16: sixteen pixels in normal and column skip 4x readout modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 figure 17: thirty-two pixels in normal and column skip 8x readout modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 figure 18: sixty-four pixels in normal and column skip 16x readout modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 figure 19: data from pixel array in normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 figure 20: data from pixel array in zoom 2x mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 figure 21: data from pixel array in zoom 4x mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 figure 22: data from pixel array in zoom 8x mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 figure 23: data from pixel array in zoom 16x mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 figure 24: line_valid formats. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45 figure 25: early frame_valid rise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 figure 26: early frame_valid fall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 figure 27: xenon flash enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 figure 28: led flash enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 figure 29: led flash enabled, using restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 figure 30: global reset operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 figure 31: analog readout channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 figure 32: timing diagram ain1?ain3 sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 figure 33: propagation delay for frame_valid and line_valid. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 figure 34: propagation delays for pixclk and d out signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 figure 35: serial host interface start condition timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 figure 36: serial host interface stop condition timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 figure 37: serial host interface write data timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 figure 38: serial host interface read data timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 figure 39: acknowledge signal timing following 8-bit write to sensor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 figure 40: acknowledge signal timing following 8-bit read from sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 figure 41: spectral response (tbd). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011_mi2010_elot.fm - rev. a 11/04 en 5 ?2004 micron technology, inc. all rights reserved. list of tables table 1: key performance parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 table 2: signal description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 table 3: frame time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 table 4: frame?long integration time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 table 5: slave address options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 table 6: register list and default value descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 table 7: register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 table 8: skip values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 table 9: zoom values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 table 10: minimum horizontal blanking parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 table 11: minimum row time parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 table 12: offset gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 table 13: recommended gain settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 table 14: output-enable control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 table 15: signal state during standby. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 table 16: dc electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 table 17: ac electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 6 ?2004 micron technology, inc. all rights reserved. general description the micron ? imaging MT9D011 is an oversize uxga-format cmos active-pixel digital image sensor with a pixel array of 1632h x 1216v. it incorporates sophisticated on-chip camera functions such as win- dowing, mirroring, row skip modes, and snapshot mode. it is programmable through a simple two-wire serial interface and achieves very low power consump- tion. the 2-megapixel cmos image sensor features digi- talclarity ? micron?s breakthrough low-noise cmos imaging technology that achieves ccd image quality (based on signal-to-noise ra tio and low-light sensitiv- ity) while maintaining the inherent size, cost, and inte- gration advantages of cmos. when operated in default mode, the sensor gener- ates a uxga image at 15 frames per second (fps). an on-chip adc generates a 10-bit value for each pixel. the pixel data is output on a 10-bit output bus and qualified by an output data clock (pixclk), together with line_valid and frame_valid signals. a flash output strobe is provided to allow an external xenon or led light source to synchronize with the sensor expo- sure time. the sensor can be programmed by the user to control the frame size, exposure, gain setting, and other parameters. figure 1: block diagram introduction the MT9D011 is a progressive-scan sensor that gen- erates a stream of pixel data qualified by line_valid and frame_valid signals. an on-chip pll generates the master clock from an input clock of 4 mhz to 40 mhz. in default mode, the data rate (pixel clock) is the same as the master clock frequency, which means that one pixel is generated every master clock cycle. the sensor block diagram is shown in figure 1. the core of the sensor is an active-pixel array. the timing and control circuitry sequences through the rows of the array, resetting and then reading each row. in the time interval between resetting a row and read- ing that row, the pixels in that row integrate incident light. the exposure is controlled by varying the time interval between reset and readout. after a row is read, the data from the columns is sequenced through an analog signal chain (providing offset correction and gain), and then through an adc. the output from the adc is a 10-bit value for each pixel in the array. the pixel array contains optically active and light-shielded ?black? pixels. the black pixels are used to provide data for on-chip offset correction algorithms (?black level? control). the sensor contains a set of 16-bit control and sta- tus registers that can be used to control many aspects of the sensor operations. these registers can be accessed through a two-wire serial interface. in this document, registers are specified either by name (e.g., column start) or by register address (e.g., reg0x04). fields within a register are specified by bit or by bit range (e.g., reg0x20[0] or reg0x0b[13 : 0]). the control and status registers are described in ?registers? on page 17. the output from the sensor is a bayer pattern: alter- nate rows are a sequence of either green/red pixels or blue/green pixels. the offset and gain stages of the analog signal chain provide per-color control of the pixel data. active-pixel sensor (aps) array uxga 1600h x 1200v serial i/o data out sync signals control register analog processing adc timing and control
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 7 ?2004 micron technology, inc. all rights reserved. the sensor generates a uxga-sized image by default, with 10 parallel data outputs per pixel, and separate line_valid, frame_valid, and pixel clock outputs. all timing control is performed on-chip. figure 2: typical configuration note: 1. resistor value 1.5k ? is recommended, but may be greater for slower two-wire speed. 2. if not used, leave unconnected. v dd q v aa from controller 10f 1.5k ? 1 1.5k ? 1 standby s data sclk reset# test frame_valid flash pixclk line_valid d out [9 : 0] clkin s addr grst_ctrl 1k ? d gnd a gnd d gnd a gnd ain1 2 ain2 2 ain3 2 v dd v dd q v dd v aa vaapix v aa pll to controller from controller clock (4 mhz?40 mhz) strobe mode MT9D011
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 8 ?2004 micron technology, inc. all rights reserved. table 2: signal description name type description reset# input asynchronous active-low reset. when asserted, data output stops and all internal registers are restored to their factory default settings. ain1 input analog input port. if enabled by reg0xe3, the pin is sampled once per row by the on-chip analog-to-digital converter (adc). ain2 input similar to ain1. ain3 input similar to ain1. sclk input serial clock for access to control and status registers. s addr input selects the device address for the serial interface. see ?slave address? on page 13. standby input multifunction pin to control device addressing, power-down, and pin tri-state functions. when low, the sensor functions normally. wh en high, the sensor may enter a low-power state and may put certain outputs in a high-z. ?power-saving modes? on page 53, ?output enable control? on page 51, and ?slave address? on page 13. clkin input input clock to pll or master clock. test input enable manufacturing test modes. wire to d gnd for functional operation. mode input tie to d gnd for normal operation. s data i/o serial data for reads from and writes to control and status registers. d out 9 output pixel data output 9 (most significant bit (msb)). d out 8 output pixel data output 8. d out 7 output pixel data output 7. d out 6 output pixel data output 6. d out 5 output pixel data output 5. d out 4 output pixel data output 4. d out 3 output pixel data output 3. d out 2 output pixel data output 2. d out 1 output pixel data output 1. d out 0 output pixel data output 0 (least significant bit (lsb)). line_valid output line_valid. asserted during a line of valid pixe l data. (the operation of this signal can be controlled by reg0x25[15:14].) frame_valid output frame_valid. asserted during a frame of valid pixel data. pixclk output pixel clock. by default, pixel data, line_valid, and frame_valid are valid on the rising edge of this clock. this signal can be inverted and delayed under the control of reg0x0a. strobe output synchronization pulse for mechanical shutter in global reset mode. grst_ctr output controls the global reset operation. flash output synchronization pulse for external light source. v dd qpower i/o power. v dd power digital power. d gnd power digital and i/o ground. v aa pll power pll power. v aa power analog power. a gnd power analog ground. vaapix power analog power for pixel array.
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 9 ?2004 micron technology, inc. all rights reserved. pixel array structure the MT9D011 pixel array is configured as 1688 col- umns by 1256 rows (shown in figure 3). the first 52 columns and the first and the last 20 rows of pixels are optically black and are used for the automatic black level adjustment. the last four columns are also opti- cally black. the optically active pixels are used as follows: in default mode a uxga image (1600 columns by 1200 rows) is generated, starting at row 28, column 60. a four-pixel boundary of active pixels can be enabled around the image to avoid boundary effects during color interpolation and correction. during mirrored readout, the region of active pixels used to generate the image is offset by one pixel in each mirrored direc- tion so that the readout always starts on the same color pixel. figure 3: pixel array the MT9D011 uses a bayer color pattern as shown in figure 4. the even-numbered rows contain green and red color pixels; odd-numbered rows contain blue and green color pixels. even-numbered columns con- tain green and blue color pixels; odd-numbered col- umns contain red and green color pixels. the color order is preserved during mirrored readout. figure 4: pixel color pattern detail (top right corner) default readout order by convention, the MT9D011 pixel array is shown with pixel (0,0) in the top right-hand corner (see figure 4). this reflects the actual layout of the array on the die. when the sensor is imaging, the active surface of the sensor faces the scene as shown in figure 5. when the image is read out of the sensor, it is read one row at a time, with the rows and columns sequenced as shown in figure 3. by convention, data from the sen- sor is shown with the first pixel read out?pixel (52,20) in the case of the MT9D011?in the top left-hand cor- ner. see figure 6. figure 5: imaging a scene (1687,1255) 52 black columns 20 black rows 20 black rows (0,0) 4 black columns oversize uxga 1632 x 1216 active pixels black pixels column readout direction . . . ... row readout direction g1 b g1 b g1 b r g2 r g2 r g2 g1 b g1 b g1 b r g2 r g2 r g2 g1 b g1 b g1 b r g2 r g2 r g2 g1 b g1 b g1 b first clear pixel (52,20) lens pixel(0,0) row readout order column readout order scene sensor (rear view)
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 10 ?2004 micron technology, inc. all rights reserved. output data format MT9D011 image data is read out in a progressive scan. valid image data is surrounded by horizontal blanking and vertical blanking as shown in figure 6. the amount of horizontal and vertical blanking is pro- grammable. line_valid is high during the shaded region of the figure. frame_valid timing is described in the next section. figure 6: spatial illustration of image readout output data timing MT9D011 output data is synchronized with the pix- clk output. when line_valid is high, one pixel datum is output on the 10-bit d out output every pix- clk period. by default, the pixclk signal runs at the same frequency as the master clock, and its rising edges occur one-half of a master clock period after transitions on line_valid, frame_valid, and d out (see figure 7). this allows pixclk to be used as a clock to sample the data. pixclk is continuously enabled, even during the blanking period. the MT9D011 can be programmed to delay the pixclk edge relative to the d out transitions from 0 to 3.5 master clocks, in steps of one-half of a master clock. this can be achieved by programming the corresponding bits in reg0x0a. the parameters p, a, and q in figure 8 are defined in table 3 on page 12. figure 7: pixel data timing example p 0,0 p 0,1 p 0,2 ................................p 0,n-1 p 0,n p 1,0 p 1,1 p 1,2 ................................p 1,n-1 p 1,n 00 00 00 ............. 00 00 00 00 00 00 ............. 00 00 00 p m-1,0 p m-1,1 .........................p m-1,n-1 p m-1,n p m,0 p m,1 .........................p m,n-1 p m,n 00 00 00 ............. 00 00 00 00 00 00 ............. 00 00 00 00 00 00 ............. 00 00 00 00 00 00 ............. 00 00 00 00 00 00 ............. 00 00 00 00 00 00 ............. 00 00 00 00 00 00 ..................................... 00 00 00 00 00 00 ..................................... 00 00 00 00 00 00 ................................ 00 00 00 00 00 00 ................................ 00 00 00 valid image horizontal blanking vertical blanking vertical/horizontal blanking p 0 (9:0) p 1 (9:0) p 2 (9:0) p 3 (9:0) p 4 (9:0) p n-1 (9:0) p n (9:0) valid image data blanking blanking line_valid pixclk d out [9:0]
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 11 ?2004 micron technology, inc. all rights reserved. figure 8: row timing and frame_valid/line_valid signals the sensor timing (table 3) is shown in terms of pixel-clock and master-clock cycles (see figure 7 on page 10). the recommended master clock frequency is 36 mhz. increasing the integration time to more than one frame will cause the frame time to be extended. the equations in table 3 assume integration time is less than the number of rows in a frame (reg0x09 < reg0x03/s + border + vblank_reg). if this is not the case, the number of integration rows must be used instead to determine the frame time as shown in ta b l e 4 . frame_valid line_valid number of master clocks paq aqap
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 12 ?2004 micron technology, inc. all rights reserved. table 3: frame time note: 1. skip factor should be multiplied by 2 if binning is enabled. parameter name equation default timing at 36 mhz, dual adc mode hblank_reg horizontal blanking register reg0x07 if reg0xf2[0] = 0 reg0x05 if reg0xf2[0] = 1 0x15c = 348 pixels vblank_reg vertical blanking register reg0x8 if reg0xf2[1] = 0 reg0x6 if reg0xf2[1] = 1 0x20 = 32 rows adc_mode adc mode reg0xf2[3] = 0: reg0x20[10] reg0xf2[3] = 1: reg0x21[10] pixclk_period pixel clock period adc_mode = 0: reg0x0a[2:0] adc_mode = 1: reg0x0a[2:0]*2 1 adc_mode: 55.556ns 2 adc_mode: 27.778ns s skip factor for skip 2x mode: s = 2 for skip 4x mode: s = 4 for skip 8x mode: s = 8 for skip 16x mode: s = 16 otherwise, s = 1 1 a active data time (reg0x04/s) * pixclk_period 1,600 pixel clocks = 1,600 master = 44.44s p frame start/end blanking 6 * pixclk_period (can be controlled by reg0x1f) 6 pixel clocks = 12 master = 0.166s q horizontal blanking hblank_reg * pixclk_period 348 pixel clocks = 348 master = 9.667s a + q rowtime ((reg0x04/s) + hblank_reg) * pixclk_period 1,948 pixel clocks = 1,948 master = 54.112s v vertical blanking vblank_reg * (a + q) + (q - 2*p) 62,672 pixel clocks = 62,672 master = 1.741ms nrows * (a+q) frame valid time (reg0x03/s) * (a + q) - (q - 2*p) 2,337,264 pixel clocks = 2,337,264 master = 64.925ms f total frame time ((reg0x03/s) + vblank_reg) * (a + q) 2,399,936 pixel clocks = 2,399,936 master = 66.665ms table 4: frame?long integration time parameter name equation (master clock) v? vertical blanking (long integration time) (reg0x09?(reg0x03)/s)*(a + q) + (q - 2*p) f? total frame time (long integration time) (reg0x09)*(a + q)
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 13 ?2004 micron technology, inc. all rights reserved. two-wire serial register interface this section describes the two-wire serial interface bus that can be used in any functional sensor mode. the two-wire serial interface bus enables r/w access to control and status registers within the MT9D011. the interface protocol uses a master/slave model in which a master controls one or more slave devices. the sensor acts as a slave device. the master generates a clock (sclk) that is an input to the sensor and used to synchronize transfers. the master is responsible for driving a valid logic level on sclk at all times. data is transferred between the master and the slave on a bi- directional signal (s data ). the s data signal is pulled up to v dd off-chip by a 1.5k ? resistor. either the slave or master device can drive the s data line low?the interface protocol determines which device is allowed to drive the s data line at any given time. protocol the two-wire serial interface bus defines the trans- mission codes as follows: a start bit  the slave device 8-bit address  a(an) (no) acknowledge bit  an 8-bit message a stop bit sequence a typ ical read or write sequence is executed as fol- lows: 1. the master sends a start bit. 2. the master sends the 8-bit slave device address. the last bit of the address determines if the request is a read or a write, where a ?0? indicates a write and a ?1? indicates a read. 3. the slave device acknowledges receipt of the address by sending an acknowledge bit to the master. 4. if the request is a write, the master then transfers the 8-bit register address, indicating where the write takes place. 5. the slave sends an acknowledge bit, indicating that the register address has been received. 6. the master then transfers the data, eight bits at a time, with the slave sending an acknowledge bit after each eight bits. the MT9D011 uses 16-bit data for its internal regis- ters, thus requiring two 8-bit transfers to write to one register. after 16 bits are transferred, the register address is automatically incremented so that the next 16 bits are written to the next register address. the master stops writing by sending a start or stop bit. a typical read sequence is executed as follows. 1. the master sends the write-mode slave address and 8-bit register address, just as in the write request. 2. the master then sends a start bit and the read- mode slave address, and clocks out the register data, eight bits at a time. 3. the master sends an acknowledge bit after each 8-bit transfer. the register address is auto-incre- mented after every 16 bits is transferred. 4. the data transfer is stopped when the master sends a no-acknowledge bit. bus idle state the bus is idle when both the data and clock lines are high. control of the bus is initiated with a start bit, and the bus is released with a stop bit. only the master can generate start and stop bits. start bit the start bit is defined as a high-to-low data line transition while the clock line is high. stop bit the stop bit is defined as a llow-to-high data line transition while the clock line is high. slave address the 8-bit address of a two-wire serial interface device consists of seven bits of address and one bit of direction. a ?0? in the lsb (least significant bit) of the address indicates write mode, and a ?1? indicates read mode. the default slave addresses used by the MT9D011 are 0xba (write address) and 0xbb (read address). reg0x0d[10] or the s addr pin can be used to select the alternate slave addresses 0x90 (write address) and 0x91 (read address). writes to reg0x0d[10] are inhibited when the standby pin is asserted (all other writes proceed nor- mally). this allows two sensors to co-exist as slaves on this interface, but they must be addressed indepen- dently. enable this capability as follows:
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 14 ?2004 micron technology, inc. all rights reserved. after reset, both sensors use the default slave address. reads or writes on the serial register interface to the default slave address are decoded by both sen- sors simultaneously. 1. after reset, assert the standby signal to one sensor and negate the standby signal to the other sensor. 2. perform a write to reg0x0d with bit 10 set. the sensor with standby asserted ignores the write to bit 10 and continues to decode at the default slave address. the sensor with standby negated has its reg0x0d[10] set and responds to the alternate slave address for all subsequent read and write operations, as shown in see table 5. data bit transfer one data bit is transferred during each clock pulse. the serial interface clock pulse is provided by the mas- ter. the data must be stable during the high period of the two-wire serial interface clock?it can only change when the serial clock is low. data is transferred eight bits at a time, followed by an acknowledge bit. acknowledge bit the master generates the acknowledge clock pulse. the transmitter (which is the master when writing, or the slave when reading) releases the data line, and the receiver indicates an acknowledge bit by pulling the data line low during the acknowledge clock pulse. no-acknowledge bit the no-acknowledge bit is generated when the data line is not pulled down by the receiver during the acknowledge clock pulse. a no-acknowledge bit is used to terminate a read sequence. page register the MT9D011 two-wire serial interface and its asso- ciated protocols support an address space of 256 16-bit locations. this address space can be extended by a 3- bit page prefix, and controlled through accesses to reg0xf0. the paging mechanism is intended to allow access to other sets of registers when the sensor is embedded as part of a more complex integrated subsystem, for example, in an soc. all registers within the MT9D011 are accessible on page 0 (the default page). sample write and read sequences 16-bit write sequence a typical write sequence for writing 16 bits to a reg- ister is shown in figure 9. a start bit given by the mas- ter starts the sequence, followed by the write address. the image sensor then sends an acknowledge bit and expects the register address to come first, followed by the 16-bit data. after each 8-bit transfer, the image sensor sends an acknowledge bit. all 16 bits must be written before the register is updated. after 16 bits are transferred, the register address is automatically incre- mented so that the next 16 bits are written to the next register. the master stops writing by sending a start or stop bit. figure 9: write timing to r0x09:0?value 0x0284 table 5: slave address options s addr pin reg0xd[10] slave address write read 0 0 0x090 0x091 01 0x0ba0x0bb 100x0ba0x0bb 1 1 0x090 0x091 sclk s data 0xba address start stop ack ack ack ack reg0x09 0000 0010 1000 0100
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 15 ?2004 micron technology, inc. all rights reserved. 16-bit read sequence a typical read sequence is shown in figure 10. first the master writes the register address, as in a write sequence. then a start bit and the read address specify that a read is about to happen from the register. the master clocks out the register data, eight bits at a time. the master sends an acknowledge bit after each 8-bit transfer. the register address should be incremented after every 16 bits is transferred. the data transfer is stopped when the master sends a no-acknowledge bit. figure 10: read timing from r0x09:0; returned value 0x0284 8-bit write sequence to be able to write one byte at a time to the register, a special register address is added. the 8-bit write is done by writing the upper 8 bits to the desired register, then writing the lower 8 bits to the special register address (reg0xf1). the register is not updated until all 16 bits have been written. it is not possible to update just half of a register. in figure 11, a typical sequence for 8-bit writes is shown. the second byte is written to the special register (reg0xf1). figure 11: write timing to r0x09:0?value 0x0284 sclk s data 0xba address start start stop ack ack ack ack nack reg0x09 0xbb address 0000 0010 1000 0100 sclk s data 0xba address 0xba address reg0xf1 1000 0100 start start stop ack ack ack ack ack ack reg0x09 0000 0010
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 16 ?2004 micron technology, inc. all rights reserved. 8-bit read sequence to read one byte at a time, the same special register address is used for the lower byte. the upper 8 bits are read from the desired register. by following this with a read from the special register (reg0xf1), the lower 8 bits are accessed (figure 12). the master sets the no- acknowledge bits shown. figure 12: read timing from reg0x09; returned value 0x0284 sclk s data 0xba address start start ack ack ack nack reg0x09 0xbb address 0000 0010 sclk s data 0xba address start start stop ack ack ack nack reg0xf1 0xbb address 1000 0100    
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 17 ?2004 micron technology, inc. all rights reserved. registers the MT9D011 provides a register address space of 256 locations. register map table 6 shows the locations used within the address space. locations that are not shown in the table are reserved for future use; they should not be read from or written to. locations that are shown in the table as reserved are not to be read from or written to. the effect of doing so is undefined and may include the possibility of causing permanent electrical damage to the sensor. table 6: register list and default value descriptions register #dec (hex) description data format (binary) default value (hex) 0 (0x00) chip version 0001 0101 0001 0001 (lsb) 0x1511 1 (0x01) row start 0000 0ddd dddd dddd 0x001c 2 (0x02) column start 0000 0ddd dddd dddd 0x003c 3 (0x03) row width 0000 0ddd dddd dddd 0x04b0 4 (0x04) column width 0000 0ddd dddd dddd 0x0640 5 (0x05) horizontal blanking ? context b 00dd dddd dddd dddd 0x015c 6 (0x06) vertical blanking ? context b 0ddd dddd dddd dddd 0x0020 7 (0x07) horizontal blanking?context a 00dd dddd dddd dddd 0x00ae 8 (0x08) vertical blanking?context a 0ddd dddd dddd dddd 0x0010 9 (0x09) shutter width dddd dddd dddd dddd 0x04d0 10 (0x0a) row speed ddd0 0000 dddd 0ddd 0x0011 11 (0x0b) extra delay 00dd dddd dddd dddd 0x0000 12 (0x0c) shutter delay 00dd dddd dddd dddd 0x0000 13 (0x0d) reset d000 0ddd dddd 0ddd 0x0000 31 (0x1f) frame_valid control dddd dddd dddd dddd 0x0000 32 (0x20) read mode?context b d0dd dddd dddd dddd 0x0000 33 (0x21) read mode?context a d000 0d00 dddd dd00 0x0490 34 (0x22) dark columns/rows 0000 0ddd dddd dddd 0x010f 35 (0x23) flash ??dd dddd dddd dddd 0x0608 36 (0x24) extra reset dd00 0000 0000 0000 0x8000 37 (0x25) line_valid control dd00 0000 0000 0000 0x0000 38 (0x26) bottom dark rows 0000 0000 dddd dddd 0x0007 43 (0x2b) green1 gain 0000 dddd dddd dddd 0x0020 44 (0x2c) blue gain 0000 dddd dddd dddd 0x0020 45 (0x2d) red gain 0000 dddd dddd dddd 0x0020 46 (0x2e) green2 gain 0000 dddd dddd dddd 0x0020 47 (0x2f) global gain 0000 dddd dddd dddd 0x0020 48 (0x30) row noise dddd dddd dddd dddd 0x042a 49 (0x31) reserved ? 0x0000 50 (0x32) reserved ? 0x02aa 51 (0x33) reserved ? 0x0341 52 (0x34) reserved ? 0x000f 53 (0x35) reserved ? 0x0ee8 54 (0x36) reserved ? 0xf0f0 56 (0x38) reserved ? 0x0808 59 (0x3b) reserved ? 0x0020 60 (0x3c) reserved ? 0x2020
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 18 ?2004 micron technology, inc. all rights reserved. 61 (0x3d) reserved ? 0x2000 62 (0x3e) reserved ? 0x0020 63 (0x3f) reserved ? 0x1000 63 (0x40) reserved ? 0x0000 65 (0x41) reserved ? 0x00d7 66 (0x42) reserved ? 0x0077 86 (0x56) reserved ? 0x87ff 87 (0x57) reserved ? 0x0002 88 (0x58) reserved ? 0x0000 89 (0x59) black rows 0000 0000 dddd dddd 0x00ff 90 (0x5a) reserved ? 0xe2df 91 (0x5b) dark g1 average 0000 0000 0??? ???? n/a 92 (0x5c) dark b average 0000 0000 0??? ???? n/a 93 (0x5d) dark r average 0000 0000 0??? ???? n/a 94 (0x5e) dark g2 average 0000 0000 0??? ???? n/a 95 (0x5f) calib threshold 0ddd dddd 0ddd dddd 0x231d 96 (0x60) calib control d00d 0ddd dddd dddd 0x0080 97 (0x61) calib green1 0000 000d dddd dddd 0x0000 98 (0x62) calib blue 0000 000d dddd dddd 0x0000 99 (0x63) calib red 0000 000d dddd dddd 0x0000 100 (0x64) calib green2 0000 000d dddd dddd 0x0000 101 (0x65) clock control ddd0 0000 0000 dddd 0xe000 102 (0x66) pll control 1 dddd dddd 00dd dddd 0x2809 103 (0x67) pll control 2 0000 dddd 0ddd dddd 0x0501 110 (0x6e) reserved ? 0xad01 111 (0x6f) reserved ? 0x893f 112 (0x70) reserved ? 0xb502 113 (0x71) reserved ? 0xb502 114 (0x72) reserved ? 0x2b03 115 (0x73) reserved ? 0x1a12 116 (0x74) reserved ? 0x8850 117 (0x75) reserved ? 0x705f 118 (0x76) reserved ? 0xac57 119 (0x77) reserved ? 0x4f28 120 (0x78) reserved ? 0xb301 121 (0x79) reserved ? 0xb309 122 (0x7a) reserved ? 0xb00f 123 (0x7b) reserved ? 0xff00 124 (0x7c) reserved ? 0xb601 125 (0x7d) reserved ? 0xae56 126 (0x7e) reserved ? 0x00b7 127 (0x7f) reserved ? 0xad1a 128 (0x80) reserved ? 0x8402 129 (0x81) reserved ? 0x8404 130 (0x82) reserved ? 0x8103 table 6: register list and default value descriptions (continued) register #dec (hex) description data format (binary) default value (hex)
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 19 ?2004 micron technology, inc. all rights reserved. 131 (0x83) reserved ? 0x261c 132 (0x84) reserved ? 0x6d06 133 (0x85) reserved ? 0x3423 134 (0x86) reserved ? 0x8701 135 (0x87) reserved ? 0x0088 136 (0x88) reserved ? 0x6e03 137 (0x89) reserved ? 0x8201 144 (0x90) reserved ? 0x7b6f 145 (0x91) reserved ? 0xffff 146 (0x92) reserved ? 0x715e 147 (0x93) reserved ? 0x8a79 148 (0x94) reserved ? 0x897a 149 (0x95) reserved ? 0x2319 150 (0x96) reserved ? 0xffff 151 (0x97) reserved ? 0x1b11 152 (0x98) reserved ? 0xae21 153 (0x99) reserved ? 0xad22 160 (0xa0) reserved ? 0x4733 161 (0xa1) reserved ? 0xffff 162 (0xa2) reserved ? 0x3522 163 (0xa3) reserved ? 0x6f45 164 (0xa4) reserved ? 0x6e46 165 (0xa5) reserved ? 0x3525 166 (0xa6) reserved ? 0xffff 167 (0xa7) reserved ? 0x271b 168 (0xa8) reserved ? 0x8333 169 (0xa9) reserved ? 0x8234 176 (0xb0) reserved ? 0x1a00 177 (0xb1) reserved ? 0x1901 178 (0xb2) reserved ? 0x1802 179 (0xb3) reserved ? 0x1a00 180 (0xb4) reserved ? 0x1901 181 (0xb5) reserved ? 0x1802 182 (0xb6) reserved ? 0x002c 183 (0xb7) reserved ? 0x001a 192 (0xc0) global shutter control d000 0000 0000 0ddd 0x0000 193 (0xc1) start integration (t1) dddd dddd dddd dddd 0x0064 194 (0xc2) start readout (t2) dddd dddd dddd dddd 0x0064 195 (0xc3) assert strobe (t3) dddd dddd dddd dddd 0x0096 196 (0xc4) de-assert strobe (t4) dddd dddd dddd dddd 0x00c8 197 (0xc5) assert flash dddd dddd dddd dddd 0x0064 198 (0xc6) de-assert flash dddd dddd dddd dddd 0x0078 199 (0xc7) reserved ? 0x4e20 200 (0xc8) reserved ? 0x0258 201 (0xc9) reserved ? 0x1f40 table 6: register list and default value descriptions (continued) register #dec (hex) description data format (binary) default value (hex)
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 20 ?2004 micron technology, inc. all rights reserved. note: 1 = always 1 0 = always 0 d = programmable ? = read-only (r/o) r/w = read/write 202 (0xca) reserved ? 0x001e 208 (0xd0) reserved ? 0x001c 209 (0xd1) reserved ? 0x003c 210 (0xd2) reserved ? 0x04bc 211 (0xd3) reserved ? 0x0654 212 (0xd4) reserved ? 0x00b0 224 (0xe0) external sample 1 0000 00?? ???? ???? n/a 225 (0xe1) external sample 2 0000 00?? ???? ???? n/a 226 (0xe2) external sample 3 0000 00?? ???? ???? n/a 227 (0xe3) external sampling control dd00 0000 0000 0000 0x0000 240 (0xf0) page register 0000 0000 0000 0ddd 0x0000 241 (0xf1) bytewise address 0000 0000 0000 0000 0x0000 242 (0xf2) context control d000 0000 d000 dddd 0x000b 245 (0xf5) reserved ? 0x07ff 246 (0xf6) reserved ? 0x07ff 247 (0xf7) reserved ? 0x0000 248 (0xf8) reserved ? 0x0000 249 (0xf9) reserved ? 0x0000 250 (0xfa) reserved ? 0x0000 251 (0xfb) reserved ? 0x0000 252 (0xfc) reserved ? 0x0000 253 (0xfd) reserved ? 0x0000 255 (0xff) chip version 0001 0101 0001 0001 0x1511 table 6: register list and default value descriptions (continued) register #dec (hex) description data format (binary) default value (hex)
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 21 ?2004 micron technology, inc. all rights reserved. register description table 7 provides a detailed description of the regis- ters. bit fields that are not identified in the table are read only. double-buffered registers some sensor settings cannot be changed during frame readout. for example, changing row width reg0x03 part way through frame readout results in inconsistent line_valid behavior. to avoid this, the MT9D011 double buffers many registers by imple- menting a ?pending? and a ?live? version. reads and writes access the pending register. the live register controls the sensor operation. the value in the pending register is transferred to a live register at a fixed point in the frame timing, called ?frame start.? frame start is defined as the point at which the first dark row is read out. by default, this occurs ten row times before frame_valid goes high. reg0x22 enables the dark rows to be shown in the image, but this has no effect on the position of frame start. to determine which registers or register fields are double-buffered in this way, see table 7, the ?sync?d- to-frame-start? column. reg0x0d[15] can be used to inhibit transfers from the pending to the live registers. this control bit should be used when making many register changes that must take effect simultaneously. bad frames a bad frame is a frame where all rows do not have the same integration time, or where offsets to the pixel values changed during the frame. many changes to the sensor register settings can cause a bad frame. for example, when row width reg0x03 is changed, the new register value does not affect sensor behavior until the next frame start. how- ever, the frame that would be read out at that frame- start has been integrated using the old row width. con- sequently, reading it out using the new row width results in a frame with an incorrect integration time. by default, most bad frames are masked: line_valid and frame_valid are inhibited for these frames so that the vertical blanking time between frames is extended by the frame time. to determine which register or register field changes can produce a bad frame, see table 7, the ?bad frame? column, and these notations:  n?no. changing the register value does not produce a bad frame.  y?yes. changing the register value might produce a bad frame.  ym?yes; but the bad frame is masked out unless the ?show bad frames? feature (reg0x0d[8]) is enabled. changes to integration time if the integration time (reg0x09) is changed while frame_valid is asserted for frame n , the first frame output using the new integration time is frame ( n+2 ). the sequence is as follows: 1. during frame n , the new integration time is held in the reg0x09 pending register. 2. at the start of frame ( n+1 ), the new integration time is transferred to the reg0x09 live register. integration for each row of frame ( n+1 ) has been completed using the old integration time. the earliest time that a row can start integrating using the new integration time is immediately after that row has been read for frame ( n+1 ). the actual time that rows start integrating using the new integration time is depen- dent on the new value of the integration time. 3. when frame ( n+1 ) is read out, it is integrated using the new integration time. if the integration time is changed (reg0x09 written) on successive frames, each value written is applied to a single frame; the latency between writing a value and it affecting the frame readout remains at two frames. changes to gain settings when the gain settings (reg0x2b, reg0x2c, reg0x2d, reg0x2e, and reg0x2f) are changed, the gain is usually updated on the next frame start. when the integration time and the gain are changed simulta- neously, the gain update is held off by one frame so that the first frame output with the new integration time also has the new gain applied.
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 22 ?2004 micron technology, inc. all rights reserved. r table 7: register description bit field description default (hex) sync?d to frame start bad frame r0?0x00 - chip version (r/o) bits 15:0 chip version chip version. 1511 r1?0x01 - row start (r/w) bits 10:0 row start the first row to be read out, excluding any dark rows that may be read. to window the image down, set this register to the starting ?y? value. setting a value less than 20 is not recommended because the dark rows should be read using reg0x22. 1c y ym r2?0x02 - column start (r/w) bits 10:0 column start the first column to be read out, excluding dark columns that may be read. to window the image down, set this register to the starting x value. setting a value below 52 is not recommended because readout of dark columns should be controlled by reg0x22. 3c y ym r3?0x03 - row width (r/w) bits 10:0 row width number of rows in the image to be read out, excluding any dark rows or border rows that may be read. the minimum supported value is 2. 4b0 y ym r4?0x04 - column width (r/w) bits 10:0 column width number of columns in image to be read out, excluding any dark columns or border columns that may be read. the minimum supported value is 9 in 1 adc mode and 17 in 2 adc mode. 640 y ym r5?0x05 - horizontal blanking?context b (r/w) bits 13:0 horizontal blanking? context b number of blank columns in a row when context b is selected (reg0xf2[0] = 1). the extra columns are added at the beginning of a row. ?frame rate control? on page 43 for more information on supported register values. 15c y ym r6?0x06 - vertical blanking?context b (r/w) bits 14:0 vertical blanking? context b number of blank rows in a frame when context b is selected (reg0xf2[1] = 1). the minimum supported value is (4 + reg0x22[2:0]). the actual vertical blanking time may be controlled by the shutter width (reg0x9); see ?output data timing? on page 10. 20 y n r7?0x07 - horizontal blanking?context a (r/w) bits 13:0 horizontal blanking? context a number of blank columns in a row when context a is selected (reg0xf2[0] = 0). the extra columns are added at the beginning of a row. ?frame rate control? on page 43 for more information on supported register values. ae y ym
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 23 ?2004 micron technology, inc. all rights reserved. r8?0x08 - vertical blanking?context a (r/w) bits 14:0 vertical blanking? context a number of blank rows in a frame when context a is chosen (reg0xf2[1] = 1). the minimum supported value is (4 + reg0x22[2:0]). the actual vertical blanking time may be controlled by the shutter width (reg0x9); see ?output data timing? on page 10. 10 y n r9?0x09 - shutter width (r/w) bits 15:0 shutter width integration time in number of rows. the integration time is also influenced by the shutter delay (reg0x0c) and the overhead time. 4d0 y n r10?0x0a - row speed (r/w) bits 15:14 reserved do not change from default value. bit 13 reserved do not change from default value. bit 8 invert pixel clock invert pixclk. when clear, frame_valid, line_valid, and d out are set up relative to the delayed rising edge of pixclk. when set, frame_valid, line_valid, and d out are set up relative to the delayed falling edge of pixclk. 0 n n bits 7:4 delay pixel clock number of half master clock cycle increments to delay the rising edge of pixclk relative to transitions on frame_valid, line_valid, and dout. 1 n n bit 3 reserved do not change from default value. . bits 2:0 pixel clock speed a programmed value of n gives a pixel clock period of n master clocks in 2 adc mode and 2*n master clocks in 1 adc mode. a value of ?0? is treated like (and reads back as) a value of ?1.? 1 y ym r11?0x0b - extra delay (r/w) bits 13:0 extra delay extra blanking inserted between frames. a programmed value of n increases the vertical blanking time by n pixel clock periods. can be used to get a more exact frame rate. it may affect the integration times of parts of the image when the integration time is less than one frame. 0 y n 2 r12?0x0c - shutter delay (r/w) bits 13:0 shutter delay the amount of time from the end of the sampling sequence to the beginning of the pixel reset sequence. if the value in this register exceeds the row time, the reset of the row does not complete before the associated row is sampled, and the sensor does not generate an image. a programmed value of n reduces the integration time by ( n/2 ) pixel clock periods in 1 adc mode and by n pixel clock periods in 2 adc mode. 0 y n table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 24 ?2004 micron technology, inc. all rights reserved. r13?0x0d - reset (r/w) bit 15 synchronize changes by default, update of many registers are synchronized to frame start. setting this bit inhibits this update; register changes remain pending until this bit is returned to ?0.? when this bit is returned to ?0,? all pending register updates are made on the next frame start. 0 n n bit 10 toggle s addr by default, the sensor serial bus responds to addresses 0xba and 0xbb. when this bit is set, the sensor serial bus responds to addresses 0x90 and 0x91. writes to this bit are ignored when standby is asserted. ?slave address? on page 13. 0 n n bit 9 restart bad frames when set, a restart is forced to take place whenever a bad frame is detected. this can shorten the delay when waiting for a good frame because the delay, when masking out a bad frame, is the integration time rather than the full frame time. 0 n n bit 8 show bad frames 1: output all frames (including bad frames). 0: only output good frames (default). a bad frame is defined as the first frame following a change to: window size or position, horizontal blanking, pixel clock speed, zoom, row or column skip, binning, mirroring, or use of border. 0 n n bit 7 inhibit standby by default, asserting standby places the sensor in a low- power state. setting this bit stops standby from affecting entry to or exit from the low-power state. see ?power- saving modes? on page 53. 0 n n bit 6 drive pins by default, asserting standby causes the pin interface to enter a high-z. setting this bit stops standby from contributing to output-enable control. see ?output enable control? on page 51. 0 n n bit 5 reserved do not change from default value. bit 4 output disable setting this bit puts the pin interface in a high-z. see ?output enable control? on page 51. bit 3 reserved do not change from default value. bit 2 standby setting this bit places the sensor in a low-power state. see ?power-saving modes? on page 53. 0 n ym bit 1 restart setting this bit causes the sensor to truncate the current frame and start resetting the first row. the delay before the first valid frame is read out is equal to the integration time. this bit is write -1 but always reads back as 0. 0 n ym table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 25 ?2004 micron technology, inc. all rights reserved. bit 0 reset setting this bit puts the sensor in reset; the frame being generated is truncated and the pin interface goes to an idle state. all internal registers (except for this bit) go to the default power-up state. clearing this bit resumes normal operation. 0 n ym r31?0x1f - frame_valid control (r/w) bit 15 enable early frame_valid fall 1: enables the early disabling of frame_valid as set in bits 14:8. note that line_valid is still generated for all active rows. 0: default. frame_valid goes low 6 pixel clocks after last line_valid. 0 n n bits 14:8 early frame_valid fall when enabled, the frame_valid falling edge occurs within the programmed number of rows before the end of the last line_valid. (1 + bits 14:8)*row time + constant (constant = 3 in default mode) the value of this field must not be larger than row width reg0x03. 0 n n bit 7 enable early frame_valid rise 1: enables the early rise of frame_valid as set in bits 6:0. 0: default. frame_valid goes high 6 pixel clocks before first line_valid. 0 n n bits 6:0 early frame_valid rise when enabled, the frame_valid rising edge is set high the programmed number of rows before the first line_valid: (1 + bits 6:0)*row time + horizontal blank + constant (constant = 3 in default mode). 0 n n r32?0x20 - read mode?context b (r/w) bit 15 binning? context b when read mode context b is selected (reg0xf2[3] = 1): 0: normal operation. 1: binning enabled. see ?binning? on page 42 and ?frame rate control? on page 43 for a full description. 0 y ym bit 13 zoom enable 0: normal operation. 1: zoom is enabled, with zoom factor [zoom] defined in bits 12:11. in zoom mode, the pixel data rate is slowed by a factor of [zoom]. this is achieved by outputting [zoom-1] blank rows between each output row. setting this mode allows the user to fill a window that is [zoom] times larger with interpolated data. the pixel clock speed is not affected by this operation, and the output data for each pixel is valid for [zoom] pixel clocks. every row is followed by [zoom-1] blank rows (with their own line_valid, but all data bits = 0) of equal time. the combination of this register and an appropriate change to the window sizing registers allows the user to zoom to a region of interest without affecting the frame rate. 0 y ym table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 26 ?2004 micron technology, inc. all rights reserved. bits 12:11 zoom when zoom is enabled by bit 13, this field determines the zoom amount: ?00? ? zoom 2x. ?01? ? zoom 4x. ?10? ? zoom 8x. ?11? ? zoom 16x. 0 y ym bit 10 use 1 adc? context b when read mode context b is selected (bit 3, reg0xf2 = 1): 0: use both adcs to achieve maximum speed. 1: use 1 adc to reduce power. maximum readout frequency is now half the master clock frequency, and the pixel clock is automatically adjusted as described for the pixel clock speed register. 0 y ym bit 9 show border this bit indicates whether to show the border enabled by bit 8. ?x0? ? normal behavior, no border. ?01? ? border is enabled but not s hown; vertical blanking is increased by eight rows and horizontal blanking is increased by eight pixels. ?11? ? border is enabled and shown; frame_valid time is extended by 8 rows and line_valid is extended by 8 pixels. see ?pixel border? on page 36. 0 n n bit 8 over sized when this bit is set, a four-pix el border is output around the active image array independent of readout mode (skip, zoom, mirror, etc.). setting this bit adds eight to the number of rows and columns in the frame. 0 y ym bit 7 column skip enable? context b when read mode context b is selected (reg0xf2[3] = 1): 1: enable column skip. 0: normal readout. 0 y ym bits 6:5 column skip? context b when read mode context b is selected (reg0xf2[3] = 1) and column skip is enabled (bit 7 = 1): ?00? ? column skip 2x. ?01? ? column skip 4x. ?10? ? column skip 8x. ?11? ? column skip 16x. see ?column and row skip? on page 38 for more information. 0 y ym bit 4 row skip enable? context b when read mode context b is selected (reg0xf2[3] = 1): 1: enable row skip. 0: normal readout. 0 y ym bits 3:2 row skip? context b when read mode context b is selected (reg0xf2[3] = 1) and row skip is enabled (bit 4 = 1): ?00? ? row skip 2x. ?01? ? row skip 4x. ?10? ? row skip 8x. ?11? ? row skip 16x. see ?column and row skip? on page 38 for more information. 0 y ym table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 27 ?2004 micron technology, inc. all rights reserved. bit 1 mirror columns read out columns from right to left (mirrored). when set, column readout starts from colu mn (column start + column size) and continues down to (column start + 1). when clear, readout starts at column start and continues to (column start + column size - 1). this ensures that the starting color is maintained. 0 y ym bit 0 mirror rows read out rows from bottom to top (upside down). when set, row readout starts from row (row start + row size) and continues down to (row start + 1). when clear, readout starts at row start and continues to (row start + row size - 1). this ensures that the starting color is maintained. 0 y ym r33?0x21 - read mode?context a (r/w) bit 15 binning? context a when read mode context a is selected (reg0xf2[3] = 0): 0: normal operation. 1: binning enabled. ?binning? on page 42. 0 y ym bit 10 use 1 adc? context a when read mode context a is selected (reg0xf2[3] = 0): 0: use both adcs to achieve maximum speed. 1: use one adc to reduce power. maximum readout frequency is now half of the master clock, and the pixel clock is automatically adjusted as described for the pixel clock speed register. 1 y ym bit 7 column skip enable? context a when read mode context a is selected (reg0xf2[3] = 0): 1: enable column skip. 0: normal readout. 1 y ym bits 6:5 column skip? context a when read mode context a is selected (reg0xf2[3] = 0) and column skip is enabled (bit 7 = 1): ?00? ? column skip 2x. ?01? ? column skip 4x. ?10? ? column skip 8x. ?11? ? column skip 16x. see ?column and row skip? on page 38 for more information. 0 y ym bit 4 row skip enable? context a when read mode context a is selected (reg0xf2[3] = 0): 1: enable row skip. 0: normal readout. 1 y ym bits 3:2 row skip? context a when read mode context a is selected (reg0xf2[3] = 0) and row skip is enabled (bit 4 = 1): ?00? ? row skip 2x. ?01? ? row skip 4x. ?10? ? row skip 8x. ?11? ? row skip 16x. see ?column and row skip? on page 38 for more information. 0 y ym r34?0x22 - show control (r/w) bit 10 number of dark columns MT9D011 has 40 dark columns. 1: read out 36 dark columns (4?39). ignored during binning, where all 40 dark columns are used. 0: read out 20 dark columns (4?23). 0 n n table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 28 ?2004 micron technology, inc. all rights reserved. bit 9 show dark columns when set, the 20/36 (dependent on bit 10) dark columns are output before the active pixels in a line. there is an idle period of two pixels between readout of the dark columns and readout of the active image. therefore, when set, line_valid is asserted 22 pixel times earlier than normal, and the horizontal blanking time is decreased by the same amount. 0 n n bit 8 read dark columns 1: enables the readout of dark columns for use in the row- wise noise correction algorithm. the number of columns used are 40 in binning mode, and otherwise determined by bit 10. 0: when disabled, an arbitrary number of dark columns can be read out by including them in the active image. enabling the dark columns increases the minimum value for horizontal blanking but does not affect the row time. 1 n y bit 7 show dark rows when set, the programmed dark rows is output before the active window. frame_valid is thus asserted earlier than normal. this has no effect on integration time or frame rate. 0 n n bits 6:4 dark start address the start address for the dark rows within the eight available rows (an offset of four is added to compensate for the guard pixels). must be set so all dark rows read out falls in the address space 0:7. 0 n n bit 3 reserved do not change from default value. bits 2:0 num dark rows a value of n causes ( n+1 ) dark rows to be read out at the start of each frame when dark row readout is enabled (bit 3). 7 n y r35?0x23 - flash control (r/w) bit 15 flash reflects the current state of the flash output pin. 0 bit 14 triggered indicates that the flash output pin is asserted for the current frame. 0 bit 13 xenon flash enable xenon flash. when set, the flash output pin asserts for the programmed period (bits 7:0) during vertical blank. this is achieved by keeping the integration time equal to one frame, and the pulse width less than the vertical blank time. 0 y n 1 bits 12:11 frame delay delay of the flash pulse measured in frames. 0 n n bit 10 end of reset 1: in xenon mode the flash is triggered after the resetting of a frame. 0: in xenon mode the flash is triggered after the readout of a frame. 1 n n bit 9 every frame 1: flash should be enabled every frame. 0: flash should be enabled for one frame only. 1 n n bit 8 led flash enable led flash. when set, the flash output pin asserts prior to the start of the resetting of a frame and remains asserted until the end of the readout of the frame. 0 y y 1 table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 29 ?2004 micron technology, inc. all rights reserved. bits 7:0 xenon count length of flash pulse when xenon flash is enabled. the value specifies the length in units of 1024*pixclk cycle increments. when the xenon count is set to its maximum value (0xff), the flash pulse is automatically truncated prior to the readout of the first row, giving the longest pulse possible. 8 n n r36?0x24 - extra reset (r/w) bit 15 extra reset enable 0: only programmed window (set by reg0x01 through reg0x04) and black pixels are read. 1: two additional rows are read and reset above and below programmed window to prevent blooming to active area. 1 n n bit 14 next row reset when set, and the integration time is less than one frame time, row ( n+1 ) is reset immediately prior to resetting row (n). this is intended to prevent blooming across rows under conditions of very high illumination. 0 n n bits 13:0 reserved do not change from default value. r37?0x25 - line_valid control (r/w) bit 15 xor line_valid 1: line_valid = ?continuous? line_valid xor frame_valid. 0: normal line_valid (default, no xoring of line_valid). ineffective if continuous line_valid is set. 0 n n bit 14 continuous line_valid 1: ?continuous? line_valid (continue producing line_valid during vertical blank). 0: normal line_valid (default, no line_valid during vertical blank). 0 n n 3 r38?0x26 - bottom dark rows (r/w) bit 7 show the bottom dark rows are visible in the image if the bit is set. 0 n n bits 6:4 start address defines the start address within the eight bottom dark rows. 0 n n bit 3 enable readout enable readout of the bottom dark rows. 0 n y bits 2:0 number of dark rows defines the number of bottom dark rows to be used. (the number of rows used is the specified value +1.) 7 n y r43?0x2b - green1 gain (r/w) bits 11:9 digital gain total gain = (bit 9 + 1)*(bit 10 + 1)*(bit 11 + 1)*analog gain (each bit gives 2x gain). 0 y n bits 8:7 analog gain analog gain = (bit 8 + 1)*(bit 7 + 1)*initial gain (each bit gives 2x gain). 0 y n bits 6:0 initial gain initial gain = bits 6:0*0.03125. 20 y n r44?0x2c - blue gain (r/w) bits 11:9 digital gain total gain = (bit 9 + 1)*(bit 10 + 1)*(bit 11 + 1)*analog gain (each bit gives 2x gain). 0 y n bits 6:0 initial gain initial gain = bits [6:0]*0.03125. 20 y n bits 8:7 analog gain analog gain = (bit 8 + 1)*(bit 7 + 1)*initial gain (each bit gives 2x gain). 0 y n table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 30 ?2004 micron technology, inc. all rights reserved. r45?0x2d - red gain (r/w) bits 11:9 digital gain total gain = (bit 9 + 1)*(bit 10] + 1)*(bit 11 + 1)*analog gain (each bit gives 2x gain). 0 y n bits 8:7 analog gain analog gain = (bit 8 + 1)*(bit 7 + 1)*initial gain (each bit gives 2x gain). 0 y n bits 6:0 initial gain initial gain = bits 6:0*0.03125. 20 y n r46?0x2e - green2 gain (r/w) bits 11:9 digital gain total gain = (bit 9 + 1)*(bit 10 + 1)*(bit 11 + 1)*analog gain (each bit gives 2x gain). 0 y n bits 8:7 analog gain analog gain = (bit 8 + 1)*(bit 7 + 1)*initial gain (each bit gives 2x gain). 0 y n bits 6:0 initial gain initial gain = bits 6:0*0.03125. 20 y n r47?0x2f - global gain (r/w) bits 11:0 global gain this register can be used to simultaneously set all four gains. when read, it returns the value stored in reg0x2b. 20 y n r48?0x30 - row noise (r/w) bit 15 frame-wise digital correction by default, the row noise is calculated and compensated for individually for each color of each row. when this bit is set, the row noise is calculated and applied for each color of each of the first two rows (two pairs of values) and the same values are applied to each subsequent row, so that new values are calculated and applied once per frame. 0 n n bits 14:12 gain threshold when the upper analog gain bits are equal to or larger than this threshold, the dark column average is used in the row noise correction algorithm. otherwise, the subtracted value is determined by bit 11. this check is independently performed for each color, and is a means to turn off the black level algorithm for lower gains. 0 n n bit 11 use black level average 1: use black level frame average from the dark rows in the row noise correction algorithm for low gains. note: this frame average was taken before the last adjustment of the offset dac for that frame, so it might be slightly off. 0: use mean of black level programmed threshold in the row noise correction algorithm for low gains. 0 n y bit 10 enable correction 1: enable row noise cancellation algorithm. when this bit is set, the aver age value of the dark columns read out is used as a correction for the whole row. the dark average is subtracted from each pixel on the row, and then a constant is added (bits 9:0). 0: normal operation. 1 n y bits 9:0 row noise constant constant used in the row noise cancellation algorithm. it should be set to the dark level targeted by the black level algorithm plus the noise expected between the averaged values of the dark columns. the default constant is set to 42 lsb. 2a n y table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 31 ?2004 micron technology, inc. all rights reserved. r89?0x59 - black rows (r/w) bits 7:0 black rows for each bit set, the corresponding dark row (rows 0?7) are used in the black level algorithm. for this to occur, the reading of those rows must be enabled by the settings in reg0x22. ff n n r91?0x5b - green1 frame average (r/o) bits 6:0 green1 frame average the frame-averaged green1 black level that is used in the black level calibration algorithm. r92?0x5c - blue frame average (r/o) bits 6:0 blue frame average the frame-averaged blue black level that is used in the black level calibration algorithm. r93?0x5d - red frame average (r/o) bits 6:0 red frame average the frame-averaged red black level that is used in the black level calibration algorithm. r94?0x5e - green2 frame average (r/o) bits 6:0 green2 frame average the frame-averaged green2 black level that is used in the black level calibration algorithm. r95?0x5f - threshold (r/w) bits 14:8 upper threshold upper threshold for targeted black level in adc lsbs. 23 n n bits 6:0 lower threshold lower threshold for targeted black level in adc lsbs. 1d n n r96?0x60 - calibration control (r/w) bit 15 disable rapid sweep mode disables the rapid sweep mode in the black level algorithm. the averaging mode remains enabled. 0 y n bit 12 recalculate when set, the rapid sweep mode is triggered if enabled, and the running frame average is reset to the current frame average. this bit is write-1, but always reads back as 0. 0 y n bit 10 limit rapid sweep 1: dark rows 8?11 are not used for the black level algorithm controlling the calibration value. instead, these rows are used to calculate dark averages that can be a starting point for the digital frame-wise black level algorithm. 0: all dark rows can be used for the black level algorithm. this means that the internal average might not correspond to the calibration value used fo r the frame, so the dark row average should in this case not be used as the starting point for the frame-wise black level algorithm. 0 n n bit 9 freeze calibration when set, does not let the averaging mode of the black level algorithm change the calibration value. use this with the feature in the frame-wise black level algorithm that allows you to trigger the rapid sweep mode when the dark column average gets away from the black level target. 0 n n bit 8 sweep mode when set, the calibration value is increased by one every frame, and all channels are the same. this can be used to get a ramp input to the adc from the calibration dacs. 0 n n table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 32 ?2004 micron technology, inc. all rights reserved. bits 7:5 frames to average over two to the power of this value determines how many frames to average when the black level algorithm is in the averaging mode. in this mode, the running frame average is calculated from the following formula: running frame ave = old running frame ave (old running frame ave)/2 n + (new frame ave)/ 2 n . 4 n n bit 4 step size forced to 1 when set, the step size is fo rced to 1 for the rapid sweep algorithm. default operation (0) is to start at a higher step size when in rapid sweep mode, to converge faster to the correct value. 0 n n bit 3 switch calibration values when set, the calibration values applied to the two channels are switched. this is not re commended and should not be used. 0 bit 2 same red/blue when this bit is set, the same calibration value is used for red and blue pixels: calib blue = calib red. 0 n y bit 1 same green when this bit is set, the same calibration value is used for all green pixels: calib green2 = calib green1. 0 n y bit 0 manual override manual override of black level correction. 1: override automatic bl ack level correction with programmed values. (reg0x61?reg0x64). 0: normal operation (default). 0 n y r97?0x61 - green1 calibration value (r/w) bits 8:0 green1 calibration value analog calibration offset for green1 pixels, represented as a two?s complement signed 8-bit value (if bit 8 is clear, the offset is positive and the magnitude is given by bits 7:0. if bit 8 is set, the offset is negative and the magnitude is given by not ([7:0]) + 1). if reg0x60[0] = 0, this register is r/o and returns the current value computed by the black level calibration algorithm. if reg0x60[0] = 1, this register is r/w and can be used to set the calibration offset manually. green1 pixels share rows with red pixels. 0 n y r98?x62 - blue calibration value (r/w) bits 8:0 blue calibration value analog calibration offset for blue pixels, represented as a two?s complement signed 8-bit value (if bit 8 is clear, the offset is positive and the magnitude is given by bits 7:0. if bit 8 is set, the offset is negative and the magnitude is given by not ([7:0]) + 1). if reg0x60[0] = 0, this register is r/o and returns the current value computed by the black level calibration algorithm. if reg0x60[0] = 1, this register is r/w and can be used to set the calibration offset manually. 0 n y r99?0x63 - red calibration value (r/w) bits 8:0 red calibration value analog calibration offset for red pixels, represented as a two?s complement signed 8-bit value (if bit 8 is clear, the offset is positive and the magnitude is given by bits 7:0. if bit 8 is set, the offset is negative and the magnitude is given by not([7:0]) + 1). if reg0x60[0] = 0, this register is r/o and returns the current value computed by the black level calibration algorithm. if reg0x60[0] = 1, this register is r/w and can be used to manually set the calibration offset. 0 n y table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 33 ?2004 micron technology, inc. all rights reserved. r100?0x64 - green2 calibration value (r/w) bits 8:0 green2 calibration value analog calibration offset for green2 pixels, represented as a two?s complement signed 8-bit value (if bit 8 is clear, the offset is positive and the magnitude is given by bits 7:0. if bit 8 is set, the offset is negative and the magnitude is given by not ([7:0]) + 1.) if reg0x60[0] = 0, this register is r/o and returns the current value computed by the black level calibration algorithm. if reg0x60[0] = 1, this register is r/w and can be used to manually set the calibration offset. green2 pixels share rows with blue pixels. 0 n y r101?0x65 - clock (r/w) bit 15 pll bypass 1: bypass the pll. use clkin port as master clock. 0: use clock produced by pll as master clock. 1 n n bit 14 pll power- down 1: keep pll in power-down to save power (default). 0: pll powered-up. 1 n n bit 13 power-down pll during standby this register only has an effect when bit 14 = 0. 1: turn off pll (power-down) during standby to save power (default). 0: pll powered-up during standby. 1 n n bit 2 clk_newrow force clk_newrow to be on continuously. 0 n n bit 1 clk_newframe force clk_newframe to be on continuously. 0 n n bit 0 clk_ship force clk_ship to be on continuously. 0 n n r102?0x66 - pll control 1 (r/w) bits 15:8 m m value for pll must be 16 or higher. 28 n n bits 5:0 n n value for pll. 9 n n r103?0x67 - pll control 2 (r/w) bits 11:8 reserved do not change from default value. bits 6:0 p p value for pll. 1 n n r192?0xc0 - global reset control (r/w) bit 15 global reset enable enter global reset. alternative to using grst_ctr pin. this bit is write -1 only and is always read 0. 0 n n 4 bit 2 global reset flash control 1: flash is de-asserted at end of readout. 0: flash is de-asserted by reg0xb6 (de-assert flash). 0 n n bit 1 global reset strobe control 1: strobe is de-asserted at end of readout. 0: strobe is de-asserted by reg0xc4 (de-assert strobe). 0 n n bit 0 global reset readout control 1: start of readout is controlled by falling edge of grst_ctr pin. 0: start of readout is controlled by reg0xc2 (start readout time). 0 n n r193?0xc1 - start integration time (t1) (r/w) bits 15:0 start integration time (t1) these 16 bits are compared to the upper bits of a 24-bit counter, which starts counting master clocks when global reset starts. when this value is reached, global reset is de- asserted, and integration time starts. note: there is a minimum time period for which global reset is always held. this time is defined by the physical properties of the boost circuit. 64 n n table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 34 ?2004 micron technology, inc. all rights reserved. r194?0xc2 (194) start readout time (t2) (r/w) bits 15:0 start readout time (t2) these 16 bits are added to reg0xc1 (start integration time) and compared to the 24-bit counter mentioned for reg0xc1. the value defines the time from when integration time starts to when it is guaranteed to end. readout then commences. 64 n n r195?0xc3 - assert strobe time (t3) (r/w) bits 15:0 assert strobe time (t3) these 16 bits are compared to the upper bits of a 24-bit counter, which starts counting master clocks when global reset starts. when this value is reached, the strobe is asserted. 96 n n r196?0xc4 - de-assert strobe time (t4) (r/w) bits 15:0 de-assert strobe time (t4) these 16 bits are compared to the upper bits of a 24-bit counter, which starts counting master clocks when global reset starts. when this value is reached, the strobe is de- asserted if strobe control is 0 (reg0xc0[1]). c8 n n r197?0xc5 - assert flash time (r/w) bits 15:0 assert flash time these 16 bits are compared to the upper bits of a 24-bit counter, which starts counting master clocks when global reset starts. when this value is reached, the flash is asserted. 64 n n r198?0xc6 - de-assert flash time (r/w) bits 15:0 de-assert flash time these 16 bits are compared to the upper bits of a 24-bit counter, which starts counting master clocks when global reset starts. when this value is reached, the flash is de- asserted if flash control is 0 (reg0xc0[2]). 78 n n r224?0xe0 - external sampling 3 (r/o) bits 9:0 external sampling 3 contains sample of ain3 if external sampling is enabled (reg0xe3[15] = 1). see ?analog inputs ain1?ain3? on page 54. r225?0xe1 - external sampling 2 (r/o) bits 9:0 external sampling 2 contains sample of ain2 if external sampling is enabled (reg0xe3[15] = 1). r226?0xe2 - external sampling 1 (r/o) bits 9:0 external sampling 1 contains sample of ain1 if external sampling is enabled (reg0xe3[15] = 1). r227?0xe3 - external sampling control (r/w) bit 15 enable sampling 1: enable external sampling. 0: disable external sampling. 0 n n bit 14 show sample if external sampling is enabled (reg0xe3[15] = 1): 1: show the external samples in the data stream after line_valid goes low. 0: don?t show external samples in data stream. 0 n n r240?0xf0 - page register (r/w) bits 2:0 page register must be 0. 0 n n table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 35 ?2004 micron technology, inc. all rights reserved. note: 1 see ?flash strobe? on page 48. 2 unless integration time is less than one frame. 3 if enabled in bit 3. 4 will cause current frame to stop if triggered during a frame. notation used in the register description table: sync?d to frame start n = no. the register value is updated and used immediately. y = yes. the register value is updated at next frame start as long as the synchronize changes bit is 0. note also that frame start is defined as when the first dark row is read out. by default, this is 8 rows before frame_valid goes high. bad frame a bad frame is a frame where all rows do not have the same integration time, or offsets to the pixel values changed dur- ing the frame. n = no. changing the register value does not produce a bad frame. y = yes. changing the register value might produce a bad frame. ym = yes, but the bad frame is masked out unless the ?show bad frames? feature is enabled. r241?0xf1 - bytewise address (r/w) bits 15:0 bytewise address special address to perform 16-bit reads and writes to the sensor in 8-bit chunks. see ?8-bit write sequence? on page 15. 0 n n r242?0xf2 - context control (r/w) bit 15 restart setting this bit causes the sensor to abandon the current frame and start resetting the first row. same physical register as reg0x0d[1]. 0 n ym bit 7 xenon flash enable enable xenon flash. same physical register as reg0x23[13]. 0 y n bit 3 read mode select 1: use read mode context b, reg0x20. 0: use read mode context a, reg0x21. note that bits only found in read mode context b register are always taken from that register. 1 y ym bit 2 led flash enable enable led flash. same physical register as reg0x23[8]. 0 y y bit 1 vertical blank select 1: use vertical blank context b, reg0x06. 0: use vertical blank context a, reg0x08. 1 y ym bit 0 horizontal blank select 1: use horizontal blank context b, reg0x05. 0: use horizontal blank context a, reg0x07. 1 y ym r255?0xff - chip version (r/o) bits 15:0 chip version chip version. 1511 table 7: register description (continued) bit field description default (hex) sync?d to frame start bad frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 36 ?2004 micron technology, inc. all rights reserved. feature description pll generated master clock the MT9D011 has an on-chip pll that can generate a master clock in the range of 36 mhz to 40 mhz from an input reference clock of 4 mhz to 40 mhz. it is pos- sible to bypass the pll and use clkin as master clock. this is controlled by reg0x65[15]. when the pll is bypassed (reg0x65[15] = 1), it is recommended to set the pll in power down mode by setting reg0x65[14] = 1. default mode is pll bypassed and in powerdown mode. reg0x66 and reg0x67 controls the frequency setting of the generated clock. pll settings the pll is controlled through its m, n and p param- eters, as set in registers 0x66 and 0x67. the pll output frequency (fout) has the following relationship to the input frequency (fin): fout = fin*m/(2*(n+1)*(p+1)) not all possible settings are allowed. m must be 16 or higher. also, the following restrictions on frequen- cies must be obeyed: pll power-up the pll takes time to power up. during this time, the behavior of its output clock is not guaranteed. the pll is in power-down by default and must be turned on manually. when using the pll, the correct power- up sequence after chip reset is as follows: 1. program pll frequency settings (reg0x66 and reg0x67) 2. power up pll (reg0x65[14] = 0) 3. wait for pll settling time > 150s 4. turn off pll bypass (reg0x65[15] = 0) window control window start the row and column start address of the displayed image can be set by reg0x01 (row start) and reg0x02 (column start). window size the size of the displayed image can be set by row width reg0x03 and column width reg0x04. the default image size is 1600 columns and 1200 rows (uxga). the window start and size registers can be used to configure an image size between 17 and 1632 columns and between 2 and 1216 rows. pixel border when reg0x20[9:8] are both set, a four pixel border is added around the specified image. this border can be used as extra pixels for image processing algo- rithms. the border is independent of the readout mode, which means that even in skip, zoom, and bin- ning modes, a four pixel border is output in the image. when enabled, the row and column widths are eight pixels larger than the values programmed in reg0x03 and reg0x04. if the border is enabled but not shown in the image (rex0x20[9:8] = 01), the horizontal blanking and vertical blanking values are eight pixels larger than the values programmed in the blanking registers. frequency equation min [mhz] max [mhz] fpfd fin/(n+1) 2 16 fvco fpfd*m 110 220 fout fvco/(2*(p+1) 36 40
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 37 ?2004 micron technology, inc. all rights reserved. readout modes readout speeds and power savings the MT9D011 has two adcs to convert the pixel values to digital data. because the adcs run at half the master clock frequency, it is possible to achieve a data rate equal to the master clock frequency. by turning off one of the adcs, the power consumption of the sensor is reduced. the pixel clock is then reduced by a factor of two. in reg0x20 or reg0x21, bit 10 chooses between the two modes: 0: use both adcs and read out at the set pixel clock frequency (reg0x0a, bits 3:0). 1: use 1 adc and read out at half the set pixel clock frequency (reg0x0a, bits 3:0). this can be used, for instance, when the camera is in preview mode. to make the transitions between two sensor settings easier, some simple context switching is described in ?context switching? on page 44. column mirror image by setting reg0x20[1] = 1 (reg0x21 in context a), the readout order of the columns are reversed as shown in figure 13. the starting color is preserved when mirror- ing the columns. row mirror image by setting reg0x20[0] = 1 (reg0x21 in context a), the readout order of the rows are reversed as shown in figure 14. the starting color is preserved when mirror- ing the rows. figure 13: six pixels in normal and column mirror readout modes figure 14: six rows in normal and row mirror readout modes d out 9?d out 0 line_valid normal readout g0 (9:0) r0 (9:0) g1 (9:0) r1 (9:0) g2 (9:0) r2 (9:0) d out 9?d out 0 reverse readout r2 (9:0) g3 (9:0) g2 (9:0) r1 (9:0) g1 (9:0) r0 (9:0) d out 9?d out 0 frame_valid normal readout row0 (9:0) row1 (9:0) row2 (9:0) row3 (9:0) row4 (9:0) row5 (9:0) d out 9?d out 0 reverse readout row5 (9:0) row6 (9:0) row4 (9:0) row3 (9:0) row2 (9:0) row1 (9:0)
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 38 ?2004 micron technology, inc. all rights reserved. column and row skip this section assumes context b. if context a is used, replace all references to reg0x20 with reg0x21. by setting reg0x20[4] = 1 or reg0x20[7] = 1, skip is enabled for rows or columns, respectively. when skip is enabled, the image is subsampled. the amount of skipping is set by reg0x20[3:2] (rows) and reg0x20[6:5] (columns) according to table 8. the number of rows or columns read out is what is set in reg0x03 or reg0x04, respectively, divided by the skip value in this table. in all cases, the row and column sequencing ensures that the bayer pattern is preserved. column skip examples are shown in figures 15 through 18. figure 15: eight pixels in normal and column skip 2x readout modes figure 16: sixteen pixels in normal and column skip 4x readout modes table 8: skip values bit values skip value 00 2 01 4 10 8 11 16 d out 9?d out 0 line_valid normal readout g0 (9:0) r0 (9:0) g1 (9:0) r1 (9:0) g2 (9:0) g3 (9:0) r3 (9:0) d out 9?d out 0 line_valid column skip readout g0 (9:0) r0 (9:0) g2 (9:0) r2 (9:0) r2 (9:0) d out 9?d out 0 line_valid normal readout g0 (9:0) r0 (9:0) g1 (9:0) r1 (9:0) g2 (9:0) g7 (9:0) r7 (9:0) d out 9?d out 0 line_valid column skip readout g0 (9:0) r0 (9:0) g4 (9:0) r4 (9:0)
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 39 ?2004 micron technology, inc. all rights reserved. figure 17: thirty-two pixels in norma l and column skip 8x readout modes figure 18: sixty-four pixels in norm al and column skip 16x readout modes digital zoom reg0x20[13] enables a digital zoom of 2x to 16x to be applied. the zoom value is set in reg0x20[12:11] according to table 9. in zoom mode, the pixel data rate is slowed by the zoom factor, and a number of additional blank rows are added between output rows (see table 9). this is designed to give the controller logic the necessary time to repeat data, filling in a larger window with repeated data. the pixel clock speed is not affected by this opera- tion, therefore the output data for each pixel is valid for zoom factor number of pixel clocks. every row is fol- lowed by a number of blank rows (with their own line_valid, but all data bits = 0) of equal time. in zoom modes, reg0x03 and reg0x04 still specifies the window size out of the sensor including the extra blanking, so the active image read out is, in effect, smaller than the output image. figures 19 through 23 show the data coming from the sensor in the different zoom modes. the colors represent from which colored pixel the data comes. black represents data = 0. d out 9?d out 0 line_valid normal readout g0 (9:0) r0 (9:0) g1 (9:0) r1 (9:0) g2 (9:0) g15 (9:0) r15 (9:0) d out 9?d out 0 line_valid column skip readout g0 (9:0) r0 (9:0) g8 (9:0) r8 (9:0) d out 9?d out 0 line_valid normal readout g0 (9:0) r0 (9:0) g1 (9:0) r1 (9:0) g2 (9:0) g31 (9:0) r31 (9:0) d out 9?d out 0 line_valid column skip readout g0 (9:0) r0 (9:0) g16 (9:0) r16 (9:0) table 9: zoom values bit values zoom value blank rows 00 2 1 01 4 3 10 8 7 11 16 15
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 40 ?2004 micron technology, inc. all rights reserved. figure 19: data from pixel array in normal mode figure 20: data from pixel array in zoom 2x mode c0 c4 c5 c6 c7 c1 c2 c3 c8 c9 b0 b4 b5 b6 b7 b1 b2 b3 b8 b9 a0 a4 a5 a6 a7 a1 a2 a3 a8 a9 d0 d4 d5 d6 d7 d1 d2 d3 d8 d9 e0 e4 e5 e6 e7 e1 e2 e3 e8 e9 f0 f4 f5 f6 f7 f1 f2 f3 f8 f9 g0 g4 g5 g6 g7 g1 g2 g3 g8 g9 h0 h4 h5 h6 h7 h1 h2 h3 h8 h9 i0 i4 i5 i6 i7 i1 i2 i3 i8 i9 j0 j4 j5 j6 j7 j1 j2 j3 j8 j9 c0 c4 c5 c6 c7 c1 c2 c3 c8 c9 b0 b4 b5 b6 b7 b1 b2 b3 b8 b9 a0 a4 a5 a6 a7 a1 a2 a3 a8 a9 d0 d4 d5 d6 d7 d1 d2 d3 d8 d9 e0 e4 e5 e6 e7 e1 e2 e3 e8 e9 f0 f4 f5 f6 f7 f1 f2 f3 f8 f9 g0 g4 g5 g6 g7 g1 g2 g3 g8 g9 h0 h4 h5 h6 h7 h1 h2 h3 h8 h9 i0 i4 i5 i6 i7 i1 i2 i3 i8 i9 j0 j4 j5 j6 j7 j1 j2 j3 j8 j9
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 41 ?2004 micron technology, inc. all rights reserved. figure 21: data from pixel array in zoom 4x mode figure 22: data from pixel array in zoom 8x mode c0 c4 c5 c6 c7 c1 c2 c3 b0 b4 b5 b6 b7 b1 b2 b3 a0 a4 a5 a6 a7 a1 a2 a3 d0 d4 d5 d6 d7 d1 d2 d3 e0 e4 e5 e6 e7 e1 e2 e3 f0 f4 f5 f6 f7 f1 f2 f3 g0 g4 g5 g6 g7 g1 g2 g3 h0 h4 h5 h6 h7 h1 h2 h3 c0 c1 c2 c3 b0 b1 b2 b3 a0 a1 a2 a3 d0 d1 d2 d3
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 42 ?2004 micron technology, inc. all rights reserved. figure 23: data from pixel array in zoom 16x mode binning the MT9D011 supports 2 x 2 binning of four pixels of the same color. this mode can be activated by asserting reg0x20[15] (reg0x21 if context a is used). binning is primarily used instead of 2x skip as a way of decimating the picture without losing information. the effect of aliasing in preview mode is eliminated when binning is used instead of just skipping rows and columns. activating binning has several implications.  it adds a level of skip, so the picture that comes out has the same dimensions as a picture read out with the next higher skip setting.  it increases the minimum hblank and minimum row time requirements (see table 10 and table 11). binning limitations to achieve correct operation, the following condi- tions must be met:  start address must be divisible by four (row and column).  window size must be divisible by four in both directions, after dividing by zoom factor and skip factor (because they both reduce the effective window size from the sensor?s point of view). example: default row size = 1200. 8x zoom means the actual window on the sensor is divided by 8, so 8x zoom and binning is not allowed with default window size, because 1200 / 8 = 150, which is not divisible by 4.  binning can be seen as an extra level of skip. the combination binning/16x skip is therefore not legal. b0 b1 a0 a1
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 43 ?2004 micron technology, inc. all rights reserved. frame rate control for a given window size, the blanking registers (reg0x05-reg0x08) along with the row speed register (reg0x0a) can be used to set a particular frame rate. the frame timing equations (table 3 and table 4 on page 12) can be rearranged to express the horizontal blanking or vertical blanking values as a function of the frame rate: the hblank_reg value allows the frame rate to be adjusted with a minimum resolution of one pixclk_period multiplied by the total number of rows (displayed plus blanking). when finer resolution is required, reg0x0b (extra delay) can be used. reg0x0b allows the frame time to be changed in incre- ments of pixel clocks. minimum horizontal blanking the minimum horizontal blanking value is con- strained by the time used for sampling a row of pixels and the overhead in the row readout. this is expressed in table 10. minimum row time requirement the total row time must be sufficient to allow all row operations (readout and shutter operations). the row time is the sum of column width (halved during bin- ning divided by column skip factor) and horizontal blanking, and can therefore be adjusted by program- ming these. table 11 shows minimum row time as a function of mode of operation. note that this is a particularly strict requirement during binning because twice as many row operations are required per row and the column width is halved. hblank_reg = master clock freq / (frame rate* ((reg0x03/s + border) + vblank_reg)*pixclk_period) - (reg0x04/s + border) vblank_reg = master clock freq / (frame rate* ((reg0x04/s + border) + hblank_reg)*pixclk_period) - (reg0x03/s + border) table 10: minimum horizontal blanking parameters parameter default / 2 adc mode, no binning 1 adc mode, no binning 2 adc mode, binning 1 adc mode, binning hblank(min) 286 mclks 324 mclks = 162 pixclks 470 mclks 508 mclks = 254 pixclks table 11: minimum row time parameters parameter default / 2 adc mode, no binning 1 adc mode, no binning 2 adc mode, binning 1 adc mode, binning row_time(min) 473 mclks 488 mclks = 244 pixclks 931 mclks 946 mclks = 473 pixclks pointer_operations 461 mclks 464 mclks 919 mclks 922 mclks
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 44 ?2004 micron technology, inc. all rights reserved. context switching reg0xf2 is designed to enable easy switching between sensor modes. some key registers and bits in the sensor have two physical register locations, called contexts. bits 0, 1, and 3 of reg0xf2 control which con- text register context is currently in use. a ?1? in a bit selects context b, while a ?0? selects context a for this parameter. the select bits can be used in any combi- nation, but by default are setup to allow easy switching between preview mode and full resolution mode: the horizontal blanking and vertical blanking val- ues for the two contexts are chosen so that row time is preserved between contexts. this ensures that chang- ing contexts does not affect integration time. a few more control bits are also available through the con- text register (reg0xf2) so that flash and restarting the sensor can be done simultaneously with changing contexts. see table 7 on page 22 for more information. settings for skip, 1 adc mode, and binning can be set separately for context b and context a using reg0x20 and reg0x21, respectively. when these set- tings are referred to in this document, the register is dependent on what context is set in reg0xf2. context b (default context) reg0xf2 = 0x000b (context b) reg0x05 = 0x015c (horizontal blanking, context b) reg0x06 = 0x0020 (vertical blanking, context b) reg0x20 = 0x0000 (2 adcs, no column or row skip) description: full-resolution uxga (1600 x 1200) image at 15 fps context a (alternate context, preview mode) reg0xf2 = 0x0000 (context a) reg0x07 = 0x00ae (horizontal blanking, context a) reg0x08 = 0x0010 (vertical blanking, context a) reg0x21 = 0x0490 (1 adc, 2x column and row skip) description: half-resolution svga (800 x 600) image at 30 fps
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 45 ?2004 micron technology, inc. all rights reserved. valid data signals options line_valid signal by setting bits 14?15 of reg0x25, the line_valid signal is programmed for three different output for- mats. the formats shown in figure 24 illustrate read- ing out four rows and two vertical blanking rows. in the last format, the line_valid signal is the xor between the continuous line_valid signal and the frame_valid signal. figure 24: line_valid formats frame_valid signal reg0x1f allows the user to move frame_valid with respect to data (and line_valid). the rising and falling edges of frame_valid are separately pro- grammable, and can be moved earlier by a number of row_times (plus some overhead). by programming a value of n in bits [6:0] and enabling it in bit 7, frame_valid will rise before the horizontal blanking n+1 rows earlier. this is shown in figure 25. n should not be set to higher than 9. simi- larly, by programming a value of m in bits [14:8] and enabling it in bit 15, frame_valid will fall m+1 rows earlier. this is shown in figure 26. m must not be set so frame_valid would fall before line_valid starts toggling. this is avoided by keeping m smaller than row width (reg0x03/s + border). default frame_valid line_valid continuously frame_valid line_valid xor frame_valid line_valid
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 46 ?2004 micron technology, inc. all rights reserved. figure 25: early frame_valid rise figure 26: early frame_valid fall line_valid frame_valid?normal frame_valid?early fall = 0 frame_valid?early fall = 1 frame_valid?early fall = 5 line_valid frame_valid?normal frame_valid?early fall = 0 frame_valid?early fall = 1 frame_valid?early fall = 5
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 47 ?2004 micron technology, inc. all rights reserved. integration time integration time is controlled by reg0x09 (shutter width in multiples of the row time) and reg0x0c (shut- ter delay, in pixclk_period/2). reg0x0c is used to control sub-row integration times and only has a visi- ble effect for small values of reg0x09. the total integra- tion time, t int, is shown in the equation below: in the equation, the integration overhead corre- sponds to the delay between the row reset sequence and the row sample (read) sequence. typically, the value of reg0x09 is limited to the number of rows per frame (which includes vertical blanking rows), so that the frame rate is not affected by the integration time. if reg0x09 is increased beyond the total number of rows per frame, the sensor adds blanking rows as needed. additionally, t int must be adjusted to avoid banding in the image caused by light flicker. therefore, t int must be a multiple of 1/120 of a second under 60hz flicker, and a multiple of 1/100 of a second under 50hz flicker. maximum shutter delay the shutter delay can be used to reduce the integra- tion time. a programmed value of n reduces the inte- gration time by n master clock periods. the maximum shutter delay is set by the row time and the sample time, as shown in the equation below: if the value in this register exceeds the maximum value given by this equation, the sensor may not gen- erate an image. t int = reg0x09*row time - integration overhead - shutter delay where: row time = (reg0x04/s + border + hblank_reg)*pixclk_period master clock periods (from table 3 on page 12) s= skip factor, multiplied by 2 if binning is enabled overhead time = 260 master clock periods (262 in 1 adc mode) shutter delay = reg0x0c*pixclk_period master clock periods (/2 in 1 adc mode) with default settings: t int = (1232*(1600 + 348)) - 260 - 0 = 2,399,676 master clock periods = 66.66ms@36 mhz maximum shutter delay = (row time - pointer_operations) where: row time = (reg0x04/s + border + hblank_reg)*pixclk_period master clock periods (from table 3 on page 12) s= skip factor, multiplied by 2 if binning is enabled pointer_operations = see table 11 on page 43. with default settings: maximum shutter delay = (1600 + 348) - 461 = 1487 (master clock periods)
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 48 ?2004 micron technology, inc. all rights reserved. flash strobe the MT9D011 supports both xenon and led flash through the flash output pin. the timing of the flash pin with the default settings is shown in figure figure 27, figure 28, and figure 29. reg0x23 allows the timing of the flash to be changed. the flash can be pro- grammed to: fire only once; be delayed by a few frames when asserted; and (for xenon flash) the flash duration can be programmed. when xenon flash is enabled, an integration time significantly smaller than one frame will cause uneven exposure of the image, as will setting a flash pulse width larger than vertical blanking. enabling the led flash causes one bad frame in which several rows have the flash on during only part of their integration time. this can be avoided by forc- ing a restart (write reg0x0d[1] = 1) immediately after enabling the flash; the first bad frame is then masked out as shown in figure 29. read-only bit reg0x23[14] is set during frames that are correctly integrated; the state of this bit is shown below. figure 27: xenon flash enabled figure 28: led flash enabled note: integration time = number of rows in a frame. figure 29: led flash enabled, using restart note: integration time = number of rows in a frame. frame_valid flash strobe bad frame frame_valid flash strobe flash enabled bad frame good frame good frame flash disabled during this frame during this frame flash enabled masked out good frame good frame flash disabled and a restart frame and a restart triggered triggered frame_valid flash strobe masked out frame
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 49 ?2004 micron technology, inc. all rights reserved. global reset the MT9D011 provides a global reset mode in which the pixel integration time is controlled by an external mechanical shutter. the sensor can then operate on a lower clock frequency, reducing the band- width on the interface between the sensor and the host processor without losing image quality. the basic operation is as follows: the sensor oper- ates in either preview or full-frame mode (electronic rolling shutter or ers). a rising edge on the signal grst_ctr or a write to an internal register starts the global reset sequence. the sensor now enters the snapshot mode and after a certain time, all the lines in the sensor array is reset and kept in a reset state until the integration starts. the start of the integration (exposure) period, the assertion of the strobe signal, the start of the readout and the de-assertion of the strobe signal can be controlled by internal registers (t1, t2, t3 and t4 shown in figure 30). the MT9D011 provides an output signal, strobe, that can be used to control the mechanical shutter. this signal can be programmed to occur in a specified window around the actual start of integration. during global reset, the flash pin is programmed in a different way than during normal ers operation. normally, the flash behavior is programmed using reg0x23. in global reset mode, the flash strobe is programmed in the same way as the strobe pin showed in figure 30, using registers reg0xc5 and reg0xc6. reg0xc0[0] controls the mechanism for starting the readout after a global reset operation. if this bit is high, the integration time is directly controlled by the grst_ctr pin. very long integration times can be achieved this way. figure 30: global reset operation global reset complete integration starts readout can start ers mode snapshot mode e r s mo d ers mode reset pixel array integration until shutter close readout frame wait grst_ctr strobe t1 t2 t3 t4
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 50 ?2004 micron technology, inc. all rights reserved. analog signal path the MT9D011 features two identical analog readout channels. a block diagram for one channel is shown in figure 31. the readout channel consists of two gain stages (asc1 and asc2), a sample-and-hold (adcsh) stage with black level calibration capability (v offset ), and a 10-bit adc. figure 31: analog readout channel stage-by-stage transfer functions transfer functions proceed stage-by-stage, as follows: where g1, g2, and g3 are the gain settings, v offset is the offset (calibration) voltage, and v refd is the refer- ence voltage of the adc. the gain setting g3 is applied to the signal but is not applied to v offset . the parame- ters v refd , g1, g2, g3, and v offset are described next. v refd the v refd parameters are as follows: asc1 asc2 adcsh 10-bit (g1) (g2) (g3) adc v1 v2 v3 vpix adc_code 10 v offset v refd + let v pix be the input of the signal path: v pix = pixel output voltage = signal path input voltage, the output voltage of asc 1st stage is: v1 = -1*g1*v pix (1) the output voltage of asc 2nd stage is: v2 = -1*g2*v1 (2) the output voltage of adc sample-and-hold stage is: v3 = 2*g3*v2 - v refd + v offset (3) and the adc output code is: adc output code = 511*(1 + (v3 / vr efd )) (4) from (1) to (4), the adc output code can also be written as: adc code = (1022/v refd )*[g1*g2*g3*v pix + (voffset/(2*g3))] (5) the adc reference voltage v refd i s: v refd = v ref _ hi - v ref _ lo (6) where v ref _ hi = 55.5mv*(reg0x41[7:4] + 23) (7) using default register values: v ref _ hi = 55.5mv*(13 + 23) = 1.998v and v ref _ lo = 55.5mv*(reg0x41[3:0] +11) (8) using default register values: v ref _ lo = 55.5mv*(7 +11) = 0.999v so v refd = 55.5mv*(reg0x41[7:4] - reg0x41[3:0] + 12) (9) using default register values v refd = 1.998 - 0.999 = 0.999v
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 51 ?2004 micron technology, inc. all rights reserved. gain settings: g1, g2, g3 the gains for green1, blue, red, and green2 pixels are set by registers reg0x2b, reg0x2c, reg0x2d, and reg0x2d, respectively. gain can also be globally set by reg0x2f. the analog gain is set by bits 8:0 of the corre- sponding register as follows: digital gain is set by bits 11:9 of the same registers. offset voltage: v offset the offset voltage provides a constant offset to the adc to fully utilize the adc input dynamic range. the offset voltages for green1, blue, red, and green2 pixels are manually set by registers reg0x61, reg0x62, reg0x63, and reg0x64, respectively. note that the off- set voltages also can be automatically set by the black- level calibration loop. for a given color, the offset voltage, v offset , is determined by: ?offset_gain? is determined by the 2-bit code from reg0x5a[1:0], as shown in table 12. these step sizes are not exact; increasing the stage0 adc gain from 2 to 4 decreases the step size significance; decreasing the adc v refd increases the step size significance. recommended gain settings the analog gain circuitry in the MT9D011 provides signal gains from 1 to 15.875. output enable control when the sensor is configured to operate in default mode, the d out , frame_valid, line_valid, pix- clk, and flash outputs can be placed in a high-imped- ance state under hardware or software control, as shown in table 14. the pin transition between driven and high-z always occurs asynchronously. output-enable control is provided as a mechanism to allow multiple sensors to share a single set of interface pins with a host con- troller. note: there is no benefit in placing the pins in a high-z while the sensor is in its low power standby state. therefore, in single-sensor applications that use the standby pin to g1 = bit 7 + 1 (10) g2 = bit 6:0 / 32 (11) g3 = bit 8 + 1 (12) v offset = 0.50v*offset_gain*offset_sign*offset_code[7: 0]/255 (13) where: ?offset_sign? is determined by bit 8 as: if bit 8 = 0, offset_sign = +1 (14) if bit 8 = 1, offset_sign = -1 (15) ?offset_code? is the decimal value of bit<7:0> table 12: offset gain reg0x5a[1:0] offset_gain 00 offset_gain = 0 (no calibration voltage is applied) 01 offset_gain = 0.25 (1 calibration lsb is equal to 0.5 adc lsb when v refd = 1v) 10 offset_gain = 0.50 (1 calibration lsb is equal to 1 adc lsb when v refd = 1v) 11 offset_gain = 1 (1 calibration lsb is equal to 2 adc lsb when v refd = 1v) table 13: recommended gain settings desired gain recommended gain register setting 1?1.969 0x020?0x03f 2?7.938 0x0a0?0x0ff 8?15.875 0x1c0?0x1ff table 14: output-enable control standby reg0x0d[4] (output_dis) reg0x0d[6] (drive_pins) pin state 0 0 (default) 0 (default) driven 1 0 (default) 0 (default) high-z don?t care 0 (default) 1 driven don?t care 1 don?t care high-z
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 52 ?2004 micron technology, inc. all rights reserved. enter and leave the standby state, program- ming reg0x0d[6] = 1 is recommended.
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 53 ?2004 micron technology, inc. all rights reserved. power-saving modes the sensor can be placed in a low power standby state by either of these mechanisms:  asserting standby input pin (provided that reg0x0d[7] = 0)  setting reg0x0d[2] = 1 by performing a register write through the serial register interface. these two methods are equivalent and have the same effect:  the source of standby is synchronized and latched. once latched, the full standby sequence is completed even if the source of standby is removed.  the readout of the current row is completed.  internal clocks are gated off.  the analog signal chain and associated current and voltage sources are placed in a low power state. the standby state is maintained for as long as the standby source remains asserted. table 15 shows the state of the pin interface while in standby state. output-enable control can be used to place the pin interface in a high-impedance state (see ?output enable control? on page 51). while in standby, the state of the internal registers is maintained and the sensor continues responding to accesses through its serial register interface. an even lower power standby state can be achieved by stopping the input clock (clkin) while in standby. if the input clock is stopped, the sensor does not respond to accesses through its serial register interface. exit from standby must be through the same mech- anism as entry to standby. when the standby source is negated, this sequence occurs: 1. the internal clocks are restarted. 2. the analog circuitry is restored to its normal oper- ating state. 3. the timing and control circuitry performs a restart equivalent to writing reg0x0d[1] = 1. after this sequence is complete, normal operation resumes. if the input clock is stopped during standby, it must be restarted before leaving standby. pll and standby if the pll is used to generate master clock, special care must be taken when entering standby mode. the pll uses relatively high power, so allowing the pll to power down during standby is recommended. this can be controlled in reg0x65[13]. by default the pll powers down whenever MT9D011 enters standby. the operation of the circuit cannot be guaranteed if the pll is driving the master clock when it powers down. to safely allow the pll to power down when enter- ing standby, turn on pll bypass before triggering standby (controlled by reg0x65[15]). when coming out of standby mode, the normal pll power-up sequence must be followed as specified in ?pll power-up? on page 36. floating inputs many MT9D011 signals use bi-directional pins (shown in table 4 on page 12) for the following three reasons:  the signal associated with the pin is bi-directional in normal use (the only signal in this category is s data ).  the pin is normally used as an output, but is used as an input during manufacturing test modes (e.g., d out [9:0]).  standard design practice dictates that signal inputs should not be allowed to float for long periods of time. this leads to two areas where the design application should be reviewed:  when using the output-enable control. all MT9D011 bi-directional pins that enter a high- impedance state must be driven to a valid logic level. ( ?output enable control? on page 51.)  when input pins are allowed to float. the MT9D011 does not include on-chip pull-down resistors, therefore, no input pins should be allowed to float. dark row/column display optically black rows 7 through 0 are used to provide data for black level calibration and are not normally visible in the displayed image. setting reg0x22[7] = 1 makes these rows visible in the displayed image. this is achieved by asserting frame_valid earlier than normal, and keeping it asserted longer, so that the fol- lowing rows are displayed:  the optically black rows at the start of the pixel array (controlled by reg0x22[2:0]).  two rows before the visible rows.  the visible rows (controlled by reg0x01, reg0x03 and reg0x20). table 15: signal state during standby signal state line_valid 0 frame_valid 0 line_valid 0 pixclk 0 flash 0 d out 9?d out 0 0
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 54 ?2004 micron technology, inc. all rights reserved. the result of setting reg0x22[7] = 1 is a larger image (more rows) than is programmed by reg0x03. optically black columns 23 through 0 are used to provide data for row-wise noise cancellations, and are not normally visible in the displayed image. two meth- ods for making them visible in the displayed image are:  set reg0x22[8] = 0 (to disable readout of the dark columns); set reg0x30[10] = 0 (to disable row-wise correction); then adjust reg0x02.  set reg0x22[9] = 1. when reg0x22[9] = 1, line_valid is asserted 22 pixel clocks earlier than normal. data from columns 21 through 2 (20 columns) is followed by two pixel clocks of undefined data, then by data from the visible columns (controlled by reg0x02, reg0x04, and reg0x20). clock control the MT9D011 uses an aggressive clock-gating methodology to reduce power consumption: the clocked logic is divided into a number of separate domains, each of which is only clocked as required. reg0x65 can be used to bypass the clock gating, so that clocks to individual domains run continuously. when the MT9D011 enters a low power state, almost all of the internal clocks are ?gated off.? the only exception is that a small amount of logic (approx- imately 10 flip-flops) is clocked so that access to the two-wire serial interface continues to function cor- rectly. ?power-saving modes? on page 53 for more information. analog inputs ain1?ain3 MT9D011 can share its on-chip adc resources, such as for use in auto focus applications. if reg0xe3[15] is set, the chip samples ain1?ain3 once per row (after reading out the data from the row). the digital data from this sampling is available to the user in two ways:  data can be read in registers reg0xe0 to reg0xe2  data is present in the data stream after line_valid goes low if reg0xe3[14] is set the nominal range of the ain pins are 0v + v offset to v refd + v offset . v refd is the adc reference voltage (nominally 1v), but can be programmed. ( ?analog sig- nal path? on page 50.) v offset is the offset in the adc and is typically 10mv to 20mv. if required, the offset can be measured by converting a calibrated reference voltage, which can be used to compensate at the input. the adc is designed to operate with differential inputs. since ain1-ain3 are used as single-ended inputs to the adc, it is recommended to average val- ues from several samples (if possible, a whole frame) to cancel out noise. figure 32: timing diagram ain1?ain3 sample power-up sequence there are no specific requirements to the order in which different supplies are turned on. the reset sequence cannot start before the last supply is stable within the valid ranges as defined in table 16: dc elec- trical characteristics on page 56. pix pix line_valid data_out pixclk pix pix (1 adc mode) data_out (2 adc mode) ain3 x ain2 x ain1 x line_valid pixclk x ain3 x ain2 xain1 (2 adc mode) (2 adc mode) (1 adc mode) (1 adc mode)
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 55 ?2004 micron technology, inc. all rights reserved. hard reset sequence after power-up, a hard reset is required. assuming all supplies are stable, the assertion of the reset# pin to logic ?0? will set device in reset mode ~30ns after assertion. the input clock does not have to run while reset# is active. release of reset# will require that the clock is running and after 3 clock cycles (clkin), the serial interface is ready to accept commands on the two-wire serial interface. soft reset sequence at any time during normal operation or standby, the user can do a soft reset by writing a logic "1" to reg0x0d[0] using the two-wire serial interface. this will also put the device in reset mode and all registers (including pll state and settings) will get their default values. writing a logic "0" to the same register will release the soft reset, and normal operation can be resumed once the write operation on the serial inter- face is completed.
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 56 ?2004 micron technology, inc. all rights reserved. electrical specifications note: 1. to place the chip in standby mode, first raise standby to v dd q, wait until frame_valid and line_valid are de-asserted, then wait two master clock cy cles before turning off the master clock. 2. summation of currents for all power supplies. typical ope rating power does not include the i/o power or the pll. v aa pll off, conditions are dark. table 16: dc electrical characteristics (v dd = 1.8v 0.1v; v aa = vaapix = v aa pll = v dd q = 2.8v 0.3v; t a = ambient = 25c) symbol definition condition min typ max units v ih input high voltage tbd tbd tbd v v il input low voltage tbd tbd tbd v i in input leakage current no pull-up resistor; v in = v dd or d gnd -15 15 a v oh output high voltage tbd tbd v v ol output low voltage tbd tbd tbd v i oz tri-state output leakage current 15 a i pwr total quiescent supply current 2 clkin = 36 mhz; default settings tbd tbd tbd ma i pwr standby total standby supply current 1 standby = v dd q, clkin = 0 mhz tbd tbd 10 a
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 57 ?2004 micron technology, inc. all rights reserved. table 17: ac electrical characteristics (v dd = 1.8v 0.1v; v dd q = v aa = vaapix = v aa pll = 2.8v 0.3v; t a = ambient = 25c; load capacitance = tbd) symbol definition condition min typ max units clkin input clock frequency 440mhz duty cycle % t r input clock rise time tbd ns t f input clock fall time tbd ns t plh p clkin to pixclk propagation delay, low-to-high tbd ns t phl p clkin to pixclk propagation delay, high-to-low tbd ns t plh d clkin to d out [9:0]propagation delay, low-to-high tbd ns t phl d clkin to d out [9:0] propagation delay, high-to-low tbd ns t oh data hold time from clkin ns t plh f , l clkin to frame_valid and line_valid propagation, low-to-high tbd tbd ns t phl f , l clkin to frame_valid and line_valid propagation, high-to-low tbd ns t phl f clkin to flash propagation delay, low-to-high tbd ns t phl f clkin to flash propagation delay, high-to-low tbd ns
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 58 ?2004 micron technology, inc. all rights reserved. propagation delay for frame_valid and line_valid the line_valid and frame_valid signals change on the rising edge of the master input clock, as shown in figure 33. figure 33: propagation delay for frame_valid and line_valid propagation delay for pixclk and d out the d out signals change on the rising edge of the master input clock, as shown in figure 34. line_valid asserts at the same time as the first valid pixel data, at the start of a line, and remains asserted until the end of the final valid pixel data for the line. the timing and behavior of pixclk depends on the reg0x0a settings figure 34: propagation delays for pixclk and d out signals clkin frame_valid line_valid clkin frame_valid line_valid t plh f, l t phl f, l d out (9:0) d out (9:0) d out (9:0) d out (9:0) d out (9:0) clkin pixclk t plh d , t phl d t plh p t r t f t phl p t oh
MT9D011 2-megapixel digital image sensor preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 59 ?2004 micron technology, inc. all rights reserved. two-wire serial bus timing the two-wire serial bus operation requires certain minimum master clock cycles between transitions. these are specified in the following diagrams in master clock cycles. figure 35: serial host interface start condition timing figure 36: serial host interface stop condition timing note: all timing in master clock cycle units. figure 37: serial host interface write data timing note: s data is driven by an off-chip transmitter. figure 38: serial host interface read data timing note: s data is pulled low by the sensor, or allowed to be pulled high by an off-chip pull-up resistor. figure 39: acknowledge signal timing following 8-bit write to sensor figure 40: acknowledge signal timi ng following 8-bit read from sensor note: after a read, the master receiver must pull down s data to acknowledge receipt of data bits. when read sequence is com- plete, the master must generate a no-acknowledge by leaving s data to float high. on the following cycle, a start or stop bit can be used. sclk 5 s data 4 sclk 5 s data 4 sclk 4 s data 4 sclk 5 s data sclk sensor pulls down s data pin 6 s data 3 sclk sensor tri-states s data pin (turns off pull down) 7 s data 6
MT9D011 2-megapixel digital image sensor micron confidential and proprietary preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 60 ?2004 micron technology, inc. all rights reserved. ? 8000 s. federal way, p.o. box 6, boise, id 83707-0006, tel: 208-368-3900 e-mail: prodmktg@micron.com, internet: http://www.m icron.com, customer comment line: 800-932-4992 micron, the m logo, and the micron logo are trademarks of micron technology, inc. all other trademarks are the property of their respective owners. figure 41: spectral response (tbd) data sheet designation preliminary: this data sheet contains initial characterization limits that are subject to change on full characterzation of production devices.
MT9D011 2-megapixel digital image sensor micron confidential and proprietary preliminary 09005aef81516da4 micron technology, inc., reserves the right to change products or specifications without notice. MT9D011__mi2010_e_2.fm - rev. a 11/04 en 61 ?2004 micron technology, inc. all rights reserved. ? 8000 s. federal way, p.o. box 6, boise, id 83707-0006, tel: 208-368-3900 e-mail: prodmktg@micron.com, internet: http://www.m icron.com, customer comment line: 800-932-4992 micron, the m logo, and the micron logo are trademarks of micron technology, inc. all other trademarks are the property of their respective owners. revision history rev a, preliminary ............................................................................................................. ............................................11/04  initial release of document


▲Up To Search▲   

 
Price & Availability of MT9D011

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X